/* ==================================================================
   kh-home.css — extracted from Views/Home/Index.cshtml
   All scoped homepage styles (kh-*, srch-*, tcard-*, etc.)
   Razor escapes (@) have been replaced with literal @ for static CSS.
   ================================================================== */

    /* =================================================================
       PREMIUM HERO SECTION (kh-hero-*) — top of homepage
       Override the legacy .banner_section styles by being more specific.
       ================================================================= */
    .kh-hero-section.banner_section {
        position: relative;
        padding: 60px 0 0;
        background: none;             /* we provide our own background layer */
        overflow: hidden;
        isolation: isolate;
        min-height: 720px;
    }
    /* Suppress old banner shapes if they leak through */
    .kh-hero-section .banner_shape1,
    .kh-hero-section .banner_shape2,
    .kh-hero-section .banner_shape3,
    .kh-hero-section .waves { display: none !important; }

    /* ─── Background layers ─── */
    .kh-hero-bg {
        position: absolute;
        inset: 0;
        z-index: -1;
        background:
            radial-gradient(ellipse at 80% 0%, #4c1d95 0%, transparent 50%),
            radial-gradient(ellipse at 0% 80%, #6a49f2 0%, transparent 60%),
            linear-gradient(180deg, #1e1b4b 0%, #2e1065 60%, #1e1b4b 100%);
    }
    /* Subtle grid pattern */
    .kh-hero-bg-grid {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 48px 48px;
        mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    }
    /* Floating blob shapes */
    .kh-hero-bg-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.4;
    }
    .kh-hero-bg-blob-1 {
        top: -80px; right: -120px;
        width: 480px; height: 480px;
        background: radial-gradient(circle, #ec4899, transparent 70%);
        animation: khHeroBlob 18s ease-in-out infinite;
    }
    .kh-hero-bg-blob-2 {
        bottom: -100px; left: -100px;
        width: 520px; height: 520px;
        background: radial-gradient(circle, #06b6d4, transparent 70%);
        animation: khHeroBlob 22s ease-in-out infinite reverse;
    }
    .kh-hero-bg-blob-3 {
        top: 40%; left: 40%;
        width: 380px; height: 380px;
        background: radial-gradient(circle, #fbbf24, transparent 70%);
        opacity: 0.18;
        animation: khHeroBlob 26s ease-in-out infinite;
    }
    @keyframes khHeroBlob {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(40px, -30px) scale(1.08); }
        66% { transform: translate(-30px, 40px) scale(0.92); }
    }
    /* Top vignette */
    .kh-hero-bg-glow {
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse at top, rgba(106,73,242,0.25), transparent 60%);
        pointer-events: none;
    }

    /* ─── Grid layout ─── */
    .kh-hero-grid {
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        gap: 50px;
        align-items: center;
        padding: 40px 0 100px;
        position: relative;
        z-index: 1;
    }

    /* ╔════════════ LEFT — Content ════════════╗ */
    .kh-hero-content { color: #fff; }

    /* Trust badge */
    .kh-hero-trust {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.18);
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 0.82rem;
        font-weight: 600;
        margin-bottom: 24px;
        color: rgba(255,255,255,0.95);
    }
    .kh-hero-trust-dot {
        width: 8px; height: 8px;
        border-radius: 50%;
        background: #10b981;
        position: relative;
    }
    .kh-hero-trust-dot::after {
        content: '';
        position: absolute; inset: -3px;
        border-radius: 50%;
        background: rgba(16,185,129,0.40);
        animation: khHeroPulseDot 1.6s ease-out infinite;
    }
    @keyframes khHeroPulseDot {
        0% { transform: scale(1); opacity: 1; }
        100% { transform: scale(2.4); opacity: 0; }
    }

    /* Title */
    .kh-hero-title {
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 900;
        line-height: 1.35;
        color: #fff !important;
        margin: 0 0 20px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .kh-hero-line {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }
    .kh-hero-highlight {
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        padding: 0 4px;
    }
    .kh-hero-highlight::after {
        content: '';
        position: absolute;
        bottom: 4px; left: 0; right: 0;
        height: 8px;
        background: rgba(251,191,36,0.20);
        border-radius: 4px;
        z-index: -1;
    }

    /* Rotating word — uses inline-grid so the container auto-sizes
       to the widest word; no min-width hacks, no clipping. */
    .kh-hero-line-rotate {
        font-size: 0.85em;
        opacity: 0.95;
    }
    .kh-hero-prefix { opacity: 0.7; font-weight: 700; }
    .kh-hero-rotate {
        display: inline-grid;
        grid-template-areas: "rot";
        vertical-align: bottom;
        line-height: 1.4;
    }
    .kh-hero-word {
        grid-area: rot;
        white-space: nowrap;
        opacity: 0;
        transform: translateY(60%);
        transition: opacity 0.5s ease, transform 0.5s ease;
        background: linear-gradient(135deg, var(--word-c, #fbbf24), #fff);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        pointer-events: none;
    }
    .kh-hero-word.kh-hero-word-active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .kh-hero-word.kh-hero-word-leave {
        opacity: 0;
        transform: translateY(-60%);
    }

    /* Description */
    .kh-hero-desc {
        font-size: 1.05rem;
        line-height: 2;
        max-width: 580px;
        margin: 0 0 24px;
        color: rgba(255,255,255,0.85);
    }

    /* Feature ticks */
    .kh-hero-ticks {
        list-style: none;
        padding: 0;
        margin: 0 0 30px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 22px;
    }
    .kh-hero-ticks li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.88rem;
        color: rgba(255,255,255,0.92);
        font-weight: 600;
    }
    .kh-hero-ticks li i {
        color: #6ee7b7;
        font-size: 1rem;
        filter: drop-shadow(0 0 6px rgba(110,231,183,0.50));
    }

    /* CTAs */
    .kh-hero-cta-group {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 36px;
    }
    .kh-hero-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 30px;
        border-radius: 50px;
        font-size: 0.96rem;
        font-weight: 800;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    .kh-hero-btn-primary {
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
        color: #1e1b4b !important;
        box-shadow: 0 20px 50px rgba(251,191,36,0.40),
                    0 4px 12px rgba(0,0,0,0.20);
    }
    .kh-hero-btn-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #fff 0%, #fde68a 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-hero-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 28px 60px rgba(251,191,36,0.55),
                        0 8px 20px rgba(0,0,0,0.30);
            color: var(--dark-purple) !important;
            text-decoration: none;
        }
        .kh-hero-btn-primary:hover::before { opacity: 1; }
    }
    .kh-hero-btn-ghost {
        background: rgba(255,255,255,0.10);
        color: #fff !important;
        border: 2px solid rgba(255,255,255,0.30);
        backdrop-filter: blur(8px);
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-hero-btn-ghost:hover {
            background: rgba(255,255,255,0.22);
            border-color: rgba(255,255,255,0.60);
            color: #fff !important;
            text-decoration: none;
            transform: translateY(-3px);
        }
    }
    .kh-hero-btn i { font-size: 1.1rem; }
    .kh-hero-btn-arrow {
        margin-right: 4px;
        transition: transform 0.3s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-hero-btn-primary:hover .kh-hero-btn-arrow {
            transform: translateX(-6px);
        }
    }

    /* Social proof */
    .kh-hero-social {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .kh-hero-avatars {
        display: flex;
        align-items: center;
    }
    .kh-hero-avatar {
        width: 44px; height: 44px;
        border-radius: 50%;
        border: 3px solid #1e1b4b;
        margin-left: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.05rem;
        position: relative;
        transition: transform 0.3s ease;
    }
    .kh-hero-avatar-1 { background: linear-gradient(135deg, #6a49f2, #3b2bb3); z-index: 5; }
    .kh-hero-avatar-2 { background: linear-gradient(135deg, #0ea5e9, #1e40af); z-index: 4; }
    .kh-hero-avatar-3 { background: linear-gradient(135deg, #ec4899, #9d174d); z-index: 3; }
    .kh-hero-avatar-4 { background: linear-gradient(135deg, #10b981, #065f46); z-index: 2; }
    .kh-hero-avatar-more {
        background: rgba(255,255,255,0.18);
        backdrop-filter: blur(8px);
        font-size: 0.86rem;
        font-weight: 800;
        z-index: 1;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-hero-avatar:hover { transform: translateY(-4px) scale(1.06); z-index: 10; }
    }
    .kh-hero-social-text { line-height: 1.5; }
    .kh-hero-stars {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        font-size: 0.92rem;
        color: #fbbf24;
        filter: drop-shadow(0 0 4px rgba(251,191,36,0.30));
    }
    .kh-hero-stars strong {
        color: #fff;
        font-weight: 800;
        margin-right: 8px;
        font-size: 0.96rem;
    }
    .kh-hero-social-line {
        display: block;
        font-size: 0.78rem;
        color: rgba(255,255,255,0.70);
        margin-top: 2px;
    }

    /* ╔════════════ RIGHT — Phone + floating widgets ════════════╗ */
    .kh-hero-visual {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 580px;
    }

    /* Phone */
    .kh-hero-phone {
        position: relative;
        width: 290px;
        background: linear-gradient(145deg, #1e1e30 0%, #0a0a18 100%);
        border-radius: 42px;
        padding: 12px;
        box-shadow:
            0 50px 100px rgba(0,0,0,0.50),
            0 0 0 1px rgba(255,255,255,0.06) inset,
            0 0 80px rgba(106,73,242,0.30);
        z-index: 2;
        transform: rotate(-3deg);
        animation: khHeroPhoneFloat 6s ease-in-out infinite;
    }
    @keyframes khHeroPhoneFloat {
        0%, 100% { transform: rotate(-3deg) translateY(0); }
        50% { transform: rotate(-3deg) translateY(-12px); }
    }
    .kh-hero-phone-notch {
        width: 90px; height: 22px;
        background: #0a0a18;
        border-radius: 0 0 14px 14px;
        margin: 0 auto 8px;
        position: relative;
    }
    .kh-hero-phone-cam {
        position: absolute;
        top: 18px; left: 50%; transform: translateX(28px);
        width: 8px; height: 8px;
        border-radius: 50%;
        background: radial-gradient(circle, #2a2a4a, #0a0a18);
        border: 1px solid rgba(255,255,255,0.10);
        z-index: 3;
    }
    .kh-hero-phone-screen {
        background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
        border-radius: 28px;
        padding: 14px 14px 18px;
        min-height: 540px;
        overflow: hidden;
        position: relative;
    }
    .kh-hero-phone-status {
        display: flex;
        justify-content: space-between;
        font-size: 0.7rem;
        color: #555;
        font-weight: 700;
        padding: 0 4px;
        margin-bottom: 10px;
    }
    .kh-hero-phone-icons i { margin-left: 3px; font-size: 0.75rem; }
    .kh-hero-phone-addr {
        background: #f4f2ff;
        color: var(--purple);
        font-size: 0.7rem;
        padding: 6px 12px;
        border-radius: 50px;
        text-align: center;
        margin-bottom: 14px;
        font-family: monospace;
        direction: ltr;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }
    .kh-hero-phone-addr strong { color: var(--dark-purple); }

    /* Card inside phone */
    .kh-hero-card {
        position: relative;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 14px 40px rgba(106,73,242,0.25);
        margin-bottom: 12px;
    }
    .kh-hero-card-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #6a49f2 0%, #3b2bb3 100%);
        z-index: 0;
    }
    .kh-hero-card-deco {
        position: absolute;
        border-radius: 50%;
    }
    .kh-hero-card-deco-1 {
        top: -40px; right: -30px;
        width: 140px; height: 140px;
        background: rgba(255,255,255,0.10);
    }
    .kh-hero-card-deco-2 {
        bottom: -30px; left: -20px;
        width: 100px; height: 100px;
        background: rgba(251,191,36,0.18);
    }
    .kh-hero-card-content {
        position: relative; z-index: 1;
        padding: 22px 18px 18px;
        text-align: center;
        color: #fff;
    }
    .kh-hero-card-avatar {
        width: 68px; height: 68px;
        margin: 0 auto 12px;
        background: rgba(255,255,255,0.20);
        border: 3px solid rgba(255,255,255,0.30);
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.7rem;
        color: #fff;
        position: relative;
    }
    .kh-hero-card-verified {
        position: absolute;
        bottom: -3px; right: -3px;
        width: 22px; height: 22px;
        background: linear-gradient(135deg, #10b981, #059669);
        border: 2px solid #6a49f2;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.6rem;
        color: #fff;
    }
    .kh-hero-card-content h3 {
        font-size: 0.96rem;
        font-weight: 800;
        margin: 0 0 4px;
        color: #fff !important;
    }
    .kh-hero-card-content > p {
        font-size: 0.76rem;
        opacity: 0.92;
        margin: 0 0 10px;
    }
    .kh-hero-card-tags {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 12px;
    }
    .kh-hero-card-tags span {
        background: rgba(255,255,255,0.18);
        font-size: 0.62rem;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 50px;
    }
    .kh-hero-card-actions {
        display: flex;
        justify-content: center;
        gap: 5px;
    }
    .kh-hero-card-action {
        width: 28px; height: 28px;
        background: rgba(255,255,255,0.20);
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.74rem;
        color: #fff;
        transition: background 0.2s ease;
    }
    .kh-hero-card-action:hover { background: rgba(255,255,255,0.32); }

    /* Phone CTA below the card */
    .kh-hero-phone-cta-row {
        text-align: center;
    }
    .kh-hero-phone-cta {
        display: block;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        padding: 10px;
        border-radius: 12px;
        font-size: 0.78rem;
        font-weight: 700;
        box-shadow: 0 6px 16px rgba(106,73,242,0.30);
    }

    /* Floating widgets */
    .kh-hero-float {
        position: absolute;
        background: #fff;
        border-radius: 14px;
        padding: 10px 14px;
        box-shadow:
            0 14px 40px rgba(0,0,0,0.25),
            0 0 0 1px rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 3;
        animation: khHeroFloatBox 6s ease-in-out infinite;
    }
    @keyframes khHeroFloatBox {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    .kh-hero-float-icon {
        width: 36px; height: 36px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    .kh-hero-float-icon-green {
        background: linear-gradient(135deg, #10b981, #059669);
    }
    .kh-hero-float-body { display: flex; flex-direction: column; line-height: 1.3; }
    .kh-hero-float-body strong {
        font-size: 0.88rem;
        font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-hero-float-body span {
        font-size: 0.7rem;
        color: #888;
    }
    .kh-hero-float-trend {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        background: #ecfdf5;
        color: #059669;
        padding: 3px 8px;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 700;
    }

    /* Position each widget */
    .kh-hero-float-stats {
        top: 10%; right: -8%;
        animation-delay: 0s;
    }
    .kh-hero-float-qr {
        bottom: 22%; right: -10%;
        animation-delay: 1s;
    }
    .kh-hero-float-notif {
        top: 18%; left: -10%;
        animation-delay: 2s;
        animation-duration: 7s;
    }
    .kh-hero-float-rate {
        bottom: 8%; left: -6%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 16px;
        animation-delay: 0.5s;
    }
    .kh-hero-float-rate-stars {
        display: inline-flex;
        gap: 2px;
        color: #fbbf24;
        font-size: 0.8rem;
    }
    .kh-hero-float-rate strong {
        font-size: 0.96rem;
        font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-hero-float-rate span {
        font-size: 0.7rem;
        color: #888;
    }

    /* Mini QR pattern */
    .kh-hero-mini-qr {
        width: 38px; height: 38px;
        flex-shrink: 0;
        background:
            linear-gradient(45deg, #0f172a 25%, transparent 25%) 0 0 / 8px 8px,
            linear-gradient(-45deg, #0f172a 25%, transparent 25%) 0 4px / 8px 8px,
            linear-gradient(45deg, transparent 75%, #0f172a 75%) 4px -4px / 8px 8px,
            linear-gradient(-45deg, transparent 75%, #0f172a 75%) -4px 0 / 8px 8px,
            #fff;
        border: 2px solid #0f172a;
        border-radius: 5px;
    }

    /* Ambient sparkles */
    .kh-hero-sparkle {
        position: absolute;
        width: 6px; height: 6px;
        border-radius: 50%;
        background: #fff;
        box-shadow:
            0 0 12px #fbbf24,
            0 0 24px rgba(251,191,36,0.50);
        animation: khHeroSparkle 3s ease-in-out infinite;
    }
    .kh-hero-sparkle-1 { top: 20%; left: 15%; animation-delay: 0s; }
    .kh-hero-sparkle-2 { top: 60%; right: 20%; animation-delay: 1.2s; }
    .kh-hero-sparkle-3 { bottom: 30%; left: 70%; animation-delay: 2.4s; }
    @keyframes khHeroSparkle {
        0%, 100% { opacity: 0; transform: scale(0.5); }
        50% { opacity: 1; transform: scale(1.4); }
    }

    /* Bottom wave */
    .kh-hero-wave {
        position: absolute;
        bottom: -1px; left: 0; right: 0;
        line-height: 0;
        z-index: 1;
    }
    .kh-hero-wave svg { display: block; width: 100%; height: 80px; }

    /* ─── Responsive ─── */
    @media (max-width: 1199px) {
        .kh-hero-float-stats   { right: 4%; }
        .kh-hero-float-qr      { right: 2%; }
        .kh-hero-float-notif   { left: 2%; }
        .kh-hero-float-rate    { left: 4%; }
    }
    @media (max-width: 991px) {
        .kh-hero-grid { grid-template-columns: 1fr; gap: 60px; padding: 30px 0 100px; text-align: right; }
        .kh-hero-visual { order: -1; min-height: 480px; }
        .kh-hero-phone { transform: rotate(-2deg); }
        .kh-hero-float-stats { top: 5%; right: 8%; }
        .kh-hero-float-qr    { display: none; }
        .kh-hero-float-notif { top: 12%; left: 8%; }
        .kh-hero-float-rate  { bottom: 5%; left: 10%; }
        .kh-hero-cta-group { justify-content: flex-start; }
    }
    @media (max-width: 575px) {
        .kh-hero-section.banner_section { min-height: unset; }
        .kh-hero-title { font-size: 1.7rem; }
        .kh-hero-desc { font-size: 0.92rem; }
        /* (rotate sizes itself automatically via inline-grid; no min-width needed) */
        .kh-hero-btn { padding: 13px 22px; font-size: 0.88rem; }
        .kh-hero-cta-group { flex-direction: column; }
        .kh-hero-cta-group .kh-hero-btn { width: 100%; justify-content: center; }
        .kh-hero-phone { width: 240px; }
        .kh-hero-phone-screen { min-height: 460px; }
        .kh-hero-float-stats, .kh-hero-float-rate {
            font-size: 0.74rem;
            padding: 8px 12px;
        }
        .kh-hero-float-notif { display: none; }
        .kh-hero-social { flex-wrap: wrap; }
    }

    /* === Hero CTA dual-button === */
    .kh-cta-group {
        display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
    }
    .kh-cta-primary, .kh-cta-secondary {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 28px; border-radius: 50px;
        font-size: 0.95rem; font-weight: 700; text-decoration: none;
        transition: all .25s ease; cursor: pointer; border: none;
    }
    .kh-cta-primary {
        background: #ffffff; color: var(--dark-purple) !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }
    .kh-cta-primary:hover {
        transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.20);
        text-decoration: none; color: var(--purple) !important;
    }
    .kh-cta-secondary {
        background: rgba(255,255,255,0.12); color: #fff !important;
        border: 2px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px);
    }
    .kh-cta-secondary:hover {
        background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6);
        color: #fff !important; text-decoration: none;
    }

    /* === Steps Section === */
    .kh-steps-section {
        padding: 90px 0 60px;
        background: linear-gradient(180deg, #fafaff 0%, #fff 100%);
        position: relative; z-index: 1;
    }
    .kh-section-head {
        text-align: center; max-width: 700px; margin: 0 auto 60px;
    }
    .kh-section-head .kh-eyebrow {
        display: inline-block; padding: 6px 16px;
        background: rgba(106,73,242,0.10); color: var(--purple);
        border-radius: 50px; font-size: 0.78rem; font-weight: 700;
        margin-bottom: 14px;
    }
    .kh-section-head h2 {
        font-size: 2rem; font-weight: 800; color: var(--dark-purple);
        margin-bottom: 14px; line-height: 1.5;
    }
    .kh-section-head h2 span { color: var(--purple); }
    .kh-section-head p {
        font-size: 1rem; color: #666; line-height: 1.9; margin: 0;
    }
    .kh-steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1100px; margin: 0 auto;
        position: relative;
    }
    .kh-step-line {
        position: absolute; top: 90px; left: 16%; right: 16%;
        height: 3px; background: repeating-linear-gradient(90deg, var(--purple), var(--purple) 6px, transparent 6px, transparent 12px);
        opacity: 0.35; z-index: 0;
    }
    .kh-step {
        background: #fff; border-radius: 22px;
        padding: 32px 24px; text-align: center;
        border: 1px solid #f0edf8;
        box-shadow: 0 8px 28px rgba(15,23,42,0.04);
        transition: all .3s ease;
        position: relative; z-index: 1;
    }
    .kh-step:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(106,73,242,0.12);
        border-color: rgba(106,73,242,0.20);
    }
    .kh-step-num {
        width: 56px; height: 56px; margin: 0 auto 18px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem; font-weight: 800;
        box-shadow: 0 8px 20px rgba(106,73,242,0.30);
    }
    .kh-step-icon {
        font-size: 2rem; color: var(--purple); margin-bottom: 12px;
    }
    .kh-step h3 {
        font-size: 1.1rem; font-weight: 700; color: var(--dark-purple);
        margin-bottom: 10px;
    }
    .kh-step p { font-size: 0.88rem; color: #777; line-height: 1.9; margin: 0; }

    /* === Featured Templates Showcase === */
    .kh-templates-section {
        padding: 80px 0; background: #fff;
    }
    .kh-templates-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px; margin-bottom: 36px;
    }
    .kh-tpl-card {
        position: relative; border-radius: 18px; overflow: hidden;
        background: linear-gradient(135deg, #f4f2ff, #eae6ff);
        height: 280px; cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 6px 22px rgba(15,23,42,0.06);
        border: 1px solid #f0edf8;
        transition: all .3s ease;
        text-decoration: none;
    }
    .kh-tpl-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 44px rgba(106,73,242,0.18);
        text-decoration: none;
    }
    .kh-tpl-card img {
        max-width: 95%; max-height: 90%;
        object-fit: contain; transition: transform .4s;
    }
    .kh-tpl-card:hover img { transform: scale(1.05); }
    .kh-tpl-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.92) 100%);
        display: flex; flex-direction: column; justify-content: flex-end;
        padding: 20px; opacity: 0; transition: opacity .3s ease;
    }
    .kh-tpl-card:hover .kh-tpl-overlay { opacity: 1; }
    .kh-tpl-overlay-name {
        color: #fff !important; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px;
    }
    .kh-tpl-overlay-cta {
        display: inline-flex; align-items: center; gap: 6px;
        color: #fff !important; font-size: 0.82rem; font-weight: 600;
    }
    .kh-tpl-badge {
        position: absolute; top: 12px; right: 12px; z-index: 2;
        padding: 4px 12px; border-radius: 50px;
        font-size: 0.7rem; font-weight: 700; color: #fff;
    }
    .kh-tpl-badge-free { background: #00b894; }
    .kh-tpl-badge-pro  { background: linear-gradient(135deg,var(--purple),var(--dark-purple)); }

    /* Category quick filters above templates grid */
    .kh-cats-row {
        display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
        margin-bottom: 32px;
    }
    .kh-cat-pill {
        padding: 8px 18px; background: #f4f2ff; color: #666;
        border-radius: 50px; font-size: 0.85rem; font-weight: 600;
        text-decoration: none; transition: all .2s ease;
        border: 1px solid transparent;
    }
    .kh-cat-pill:hover {
        background: var(--purple); color: #fff !important;
        text-decoration: none; transform: translateY(-1px);
    }

    .kh-templates-cta {
        text-align: center;
    }
    .kh-templates-cta .kh-btn-gallery {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 36px; border-radius: 50px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important; font-weight: 700; font-size: 0.95rem;
        text-decoration: none; transition: all .25s ease;
        box-shadow: 0 8px 24px rgba(106,73,242,0.30);
    }
    .kh-templates-cta .kh-btn-gallery:hover {
        transform: translateY(-2px); box-shadow: 0 14px 36px rgba(106,73,242,0.42);
        text-decoration: none; color: #fff !important;
    }

    /* === Build For Me Section === */
    .kh-bfm-section {
        padding: 70px 0;
        background: linear-gradient(135deg, #fff8e1 0%, #fef3c7 100%);
        position: relative; overflow: hidden;
    }
    .kh-bfm-section::before {
        content: ''; position: absolute;
        top: -60%; right: -10%;
        width: 500px; height: 500px;
        background: rgba(245,158,11,0.08); border-radius: 50%;
    }
    .kh-bfm-inner {
        display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
        position: relative; z-index: 1;
    }
    .kh-bfm-text { flex: 1 1 360px; }
    .kh-bfm-text .kh-eyebrow {
        background: #fde68a; color: #92400e;
    }
    .kh-bfm-text h2 {
        font-size: 1.8rem; font-weight: 800; color: #78350f;
        margin: 12px 0 14px; line-height: 1.5;
    }
    .kh-bfm-text p {
        color: #92400e; font-size: 1rem; line-height: 1.9; margin-bottom: 22px;
    }
    .kh-bfm-list {
        list-style: none; padding: 0; margin: 0 0 24px;
    }
    .kh-bfm-list li {
        display: flex; align-items: center; gap: 8px;
        padding: 6px 0; color: #78350f; font-size: 0.92rem;
    }
    .kh-bfm-list li i { color: #d97706; }
    .kh-bfm-cta {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 14px 32px; border-radius: 50px;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: #fff !important; font-weight: 700; font-size: 0.95rem;
        text-decoration: none; transition: all .25s ease;
        box-shadow: 0 8px 22px rgba(217,119,6,0.30);
    }
    .kh-bfm-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(217,119,6,0.42);
        text-decoration: none; color: #fff !important;
    }
    .kh-bfm-visual {
        flex: 0 1 320px; text-align: center;
    }
    .kh-bfm-visual .kh-bfm-icon-wrap {
        width: 220px; height: 220px; margin: 0 auto;
        background: rgba(255,255,255,0.6);
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        box-shadow: inset 0 4px 20px rgba(245,158,11,0.15);
    }
    .kh-bfm-visual .kh-bfm-icon-wrap i {
        font-size: 5rem;
        background: linear-gradient(135deg,#f59e0b,#d97706);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* === "For Whom?" — Industries Section === */
    .kh-who-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
    }
    .kh-who-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    .kh-who-card {
        background: #fff;
        border-radius: 18px;
        padding: 28px 22px;
        text-align: center;
        border: 1px solid #f0edf8;
        box-shadow: 0 6px 22px rgba(15,23,42,0.04);
        transition: all .28s ease;
        text-decoration: none;
        display: block;
        position: relative;
        overflow: hidden;
    }
    .kh-who-card::before {
        content: '';
        position: absolute; top: 0; right: 0;
        width: 80px; height: 80px;
        background: radial-gradient(circle at 100% 0%, rgba(106,73,242,0.10), transparent 70%);
        opacity: 0; transition: opacity .3s;
    }
    .kh-who-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 38px rgba(106,73,242,0.14);
        border-color: rgba(106,73,242,0.2);
        text-decoration: none;
    }
    .kh-who-card:hover::before { opacity: 1; }
    .kh-who-icon {
        width: 64px; height: 64px;
        margin: 0 auto 14px;
        border-radius: 18px;
        display: flex; align-items: center; justify-content: center;
        background: linear-gradient(135deg, #f4f2ff, #eae6ff);
        font-size: 1.8rem; color: var(--purple);
        transition: transform .3s;
    }
    .kh-who-card:hover .kh-who-icon {
        transform: scale(1.08) rotate(-4deg);
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
    }
    .kh-who-card h3 {
        font-size: 1rem; font-weight: 700; color: var(--dark-purple);
        margin: 0 0 6px;
    }
    .kh-who-card p {
        font-size: 0.8rem; color: #888; line-height: 1.8; margin: 0;
    }

    /* === Comparison: Paper vs Digital === */
    .kh-compare-section {
        padding: 80px 0;
        background: #fff;
    }
    .kh-compare-table {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        max-width: 980px;
        margin: 0 auto;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 14px 50px rgba(15,23,42,0.08);
    }
    .kh-compare-col {
        padding: 32px 26px;
    }
    .kh-compare-col-old {
        background: linear-gradient(180deg, #fafafa, #f5f5f5);
        color: #666;
    }
    .kh-compare-col-new {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    .kh-compare-col-new::before {
        content: '';
        position: absolute; top: -50%; right: -30%;
        width: 300px; height: 300px;
        background: rgba(255,255,255,0.06);
        border-radius: 50%;
    }
    .kh-compare-head {
        display: flex; align-items: center; gap: 12px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.18);
        margin-bottom: 18px;
        position: relative; z-index: 1;
    }
    .kh-compare-col-old .kh-compare-head {
        border-bottom-color: #e2e2e2;
    }
    .kh-compare-head-emoji {
        font-size: 2rem;
        filter: grayscale(1);
    }
    .kh-compare-col-new .kh-compare-head-emoji {
        filter: none;
    }
    .kh-compare-head h3 {
        font-size: 1.15rem; font-weight: 800;
        margin: 0;
    }
    .kh-compare-col-new .kh-compare-head h3 { color: #fff !important; }
    .kh-compare-list {
        list-style: none; padding: 0; margin: 0;
        position: relative; z-index: 1;
    }
    .kh-compare-list li {
        display: flex; align-items: flex-start; gap: 10px;
        padding: 10px 0;
        font-size: 0.9rem; line-height: 1.7;
        border-bottom: 1px dashed rgba(0,0,0,0.06);
    }
    .kh-compare-col-new .kh-compare-list li {
        border-bottom-color: rgba(255,255,255,0.10);
        color: rgba(255,255,255,0.95);
    }
    .kh-compare-list li:last-child { border-bottom: none; }
    .kh-compare-list li i {
        flex-shrink: 0;
        font-size: 1.1rem;
        margin-top: 2px;
    }
    .kh-compare-col-old .kh-compare-list li i { color: #ef4444; }
    .kh-compare-col-new .kh-compare-list li i { color: #6ee7b7; }

    /* === Competitor Comparison === */
    .kh-versus-section {
        padding: 70px 0;
        background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
    }
    .kh-versus-table-wrap {
        max-width: 920px; margin: 0 auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 22px;
        box-shadow: 0 14px 40px rgba(15,23,42,0.06);
    }
    .kh-versus-table {
        width: 100%;
        min-width: 560px;
        background: #fff;
        border-collapse: collapse;
        font-size: 0.9rem;
    }
    .kh-versus-table th,
    .kh-versus-table td {
        padding: 16px 18px;
        text-align: center;
        border-bottom: 1px solid #f4f2ff;
        vertical-align: middle;
    }
    .kh-versus-table th:first-child,
    .kh-versus-table td:first-child {
        text-align: right;
        color: #444;
        font-weight: 600;
        background: #fafaff;
    }
    .kh-versus-table thead th {
        background: #fafaff;
        font-weight: 800; color: var(--dark-purple);
        font-size: 0.92rem;
        padding: 22px 12px;
        position: relative;
    }
    .kh-versus-us {
        background: linear-gradient(180deg, rgba(106,73,242,0.10), rgba(106,73,242,0.04)) !important;
        position: relative;
    }
    /* Badge «محبوب‌ترین» — only on the header cell, not every row */
    th.kh-versus-us::before {
        content: 'محبوب‌ترین';
        position: absolute;
        top: 8px; left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 50px;
        white-space: nowrap;
        box-shadow: 0 4px 12px rgba(106,73,242,0.30);
    }
    /* Push header text down so badge doesn't overlap the logo/name */
    th.kh-versus-us { padding-top: 32px !important; }
    .kh-versus-table th .kh-versus-logo {
        display: flex; flex-direction: column; align-items: center; gap: 6px;
        margin-top: 14px;
    }
    .kh-versus-logo-icon {
        width: 44px; height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.1rem;
    }
    .kh-versus-table th:nth-child(3) .kh-versus-logo-icon { background: linear-gradient(135deg,#94a3b8,#475569); }
    .kh-versus-table th:nth-child(4) .kh-versus-logo-icon { background: linear-gradient(135deg,#94a3b8,#475569); }
    .kh-versus-yes  { color: #10b981; font-size: 1.1rem; }
    .kh-versus-no   { color: #ef4444; font-size: 1.1rem; }
    .kh-versus-soso { color: #f59e0b; font-size: 1.1rem; }
    .kh-versus-price {
        font-weight: 800; color: var(--dark-purple);
        font-size: 0.9rem;
    }
    .kh-versus-table tr:last-child td { border-bottom: none; }
    .kh-versus-table tr:last-child td.kh-versus-us {
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
    }
    .kh-versus-disclaimer {
        text-align: center;
        margin-top: 16px;
        font-size: 0.78rem;
        color: #999;
    }

    /* === Share Anywhere Section === */
    .kh-share-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
    }
    .kh-share-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 50px;
        align-items: center;
    }
    .kh-share-channels {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .kh-share-chip {
        display: flex; align-items: center; gap: 12px;
        padding: 14px 18px;
        background: #fff; border-radius: 14px;
        border: 1px solid #f0edf8;
        box-shadow: 0 4px 14px rgba(15,23,42,0.04);
        transition: all .25s ease;
    }
    .kh-share-chip:hover {
        transform: translateX(-4px);
        border-color: rgba(106,73,242,0.25);
        box-shadow: 0 8px 22px rgba(106,73,242,0.10);
    }
    .kh-share-chip-icon {
        flex-shrink: 0;
        width: 42px; height: 42px;
        border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.15rem; color: #fff;
    }
    .kh-share-chip-text {
        flex: 1;
    }
    .kh-share-chip-text h4 {
        font-size: 0.92rem; font-weight: 700;
        color: var(--dark-purple); margin: 0 0 2px;
    }
    .kh-share-chip-text p {
        font-size: 0.78rem; color: #999;
        margin: 0; line-height: 1.5;
    }
    /* channel colors */
    .kh-share-bg-link    { background: linear-gradient(135deg,#6366f1,#4f46e5); }
    .kh-share-bg-qr      { background: linear-gradient(135deg,#0f172a,#334155); }
    .kh-share-bg-social  { background: linear-gradient(135deg,#ec4899,#8b5cf6); }
    .kh-share-bg-email   { background: linear-gradient(135deg,#ef4444,#dc2626); }
    .kh-share-bg-sms     { background: linear-gradient(135deg,#10b981,#059669); }
    .kh-share-bg-wa      { background: linear-gradient(135deg,#22c55e,#16a34a); }

    /* Phone mockup */
    .kh-share-visual {
        position: relative;
        text-align: center;
    }
    .kh-phone-mockup {
        display: inline-block;
        width: 270px;
        background: linear-gradient(145deg,#1e1e30,#0f0f1e);
        border-radius: 36px;
        padding: 12px;
        box-shadow: 0 35px 80px rgba(15,23,42,0.30),
                    0 0 0 1px rgba(255,255,255,0.05) inset;
        position: relative;
    }
    .kh-phone-notch {
        width: 90px; height: 22px;
        background: #0f0f1e; border-radius: 0 0 14px 14px;
        margin: 0 auto 8px;
    }
    .kh-phone-screen {
        background: linear-gradient(180deg,#f8f9ff,#fff);
        border-radius: 24px; padding: 24px 18px;
        min-height: 460px;
        position: relative;
    }
    .kh-card-preview {
        background: linear-gradient(135deg,var(--purple),var(--dark-purple));
        color: #fff !important;
        border-radius: 18px;
        padding: 22px 18px;
        text-align: center;
        box-shadow: 0 14px 40px rgba(106,73,242,0.35);
    }
    .kh-card-avatar {
        width: 72px; height: 72px;
        border-radius: 50%;
        background: linear-gradient(135deg,#fbbf24,#f97316);
        margin: 0 auto 12px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.8rem; color: #fff;
        border: 3px solid rgba(255,255,255,0.25);
    }
    .kh-card-name {
        font-size: 1.05rem; font-weight: 800; margin: 0 0 4px;
        color: #fff !important;
    }
    .kh-card-role {
        font-size: 0.78rem; opacity: 0.9;
        margin: 0 0 14px;
    }
    .kh-card-actions {
        display: flex; justify-content: center; gap: 10px;
    }
    .kh-card-action {
        width: 36px; height: 36px;
        background: rgba(255,255,255,0.18);
        border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.95rem; color: #fff !important;
    }
    .kh-qr-block {
        margin-top: 22px;
        padding: 18px;
        background: #fff;
        border-radius: 16px;
        text-align: center;
        border: 1px solid #f0edf8;
        box-shadow: 0 6px 18px rgba(15,23,42,0.05);
    }
    .kh-qr-svg {
        width: 100px; height: 100px;
        margin: 0 auto 8px;
        background:
            linear-gradient(45deg, #0f172a 25%, transparent 25%) 0 0 / 12px 12px,
            linear-gradient(-45deg, #0f172a 25%, transparent 25%) 0 6px / 12px 12px,
            linear-gradient(45deg, transparent 75%, #0f172a 75%) 6px -6px / 12px 12px,
            linear-gradient(-45deg, transparent 75%, #0f172a 75%) -6px 0px / 12px 12px,
            #fff;
        border-radius: 10px;
        border: 2px solid #0f172a;
        position: relative;
    }
    .kh-qr-svg::after {
        content: '';
        position: absolute;
        top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 28px; height: 28px;
        background: #fff;
        border-radius: 6px;
        display: flex; align-items: center; justify-content: center;
    }
    .kh-qr-caption {
        font-size: 0.72rem; color: #666; font-weight: 600;
    }
    /* Floating shapes */
    .kh-share-visual::before, .kh-share-visual::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        z-index: 0;
    }
    .kh-share-visual::before {
        top: 10%; left: 10%;
        width: 90px; height: 90px;
        background: rgba(106,73,242,0.12);
        animation: khFloat 6s ease-in-out infinite;
    }
    .kh-share-visual::after {
        bottom: 15%; right: 10%;
        width: 60px; height: 60px;
        background: rgba(245,158,11,0.18);
        animation: khFloat 4s ease-in-out infinite reverse;
    }
    @keyframes khFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }

    /* === Stats Section === */
    .kh-stats-section {
        padding: 70px 0;
        background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    .kh-stats-section::before {
        content: '';
        position: absolute;
        top: -50%; left: -10%;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(168,85,247,0.20), transparent 60%);
        border-radius: 50%;
    }
    .kh-stats-section::after {
        content: '';
        position: absolute;
        bottom: -50%; right: -10%;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(236,72,153,0.18), transparent 60%);
        border-radius: 50%;
    }
    .kh-stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        position: relative; z-index: 1;
    }
    .kh-stat {
        text-align: center;
        padding: 24px 14px;
        background: rgba(255,255,255,0.04);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 18px;
        transition: all .3s;
    }
    .kh-stat:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.18);
    }
    .kh-stat-icon {
        width: 52px; height: 52px;
        margin: 0 auto 12px;
        background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
        border-radius: 14px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.4rem; color: #fff;
        border: 1px solid rgba(255,255,255,0.15);
    }
    .kh-stat-num {
        font-size: 2.3rem; font-weight: 800;
        color: #fff !important;
        margin-bottom: 4px;
        background: linear-gradient(135deg, #fff, #d8b4fe);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kh-stat-label {
        font-size: 0.88rem;
        color: rgba(255,255,255,0.75);
        font-weight: 500;
    }

    /* === PRODUCT PICKER (5 محصول اصلی) === */
    .kh-products-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #fafaff 0%, #fff 100%);
        position: relative;
        overflow: hidden;
    }
    .kh-products-section::before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        width: 400px; height: 400px;
        background: radial-gradient(circle, rgba(106,73,242,0.04), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .kh-products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        max-width: 1180px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    .kh-prod-card-1 { grid-column: span 2; }
    .kh-prod-card-2,
    .kh-prod-card-3,
    .kh-prod-card-4,
    .kh-prod-card-5 { grid-column: span 1; }

    .kh-prod-card {
        position: relative;
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 22px;
        padding: 28px 26px 24px;
        border: 1px solid #f0edf8;
        box-shadow: 0 8px 30px rgba(15,23,42,0.04);
        text-decoration: none !important;
        color: inherit;
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
        overflow: hidden;
    }
    .kh-prod-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 50px rgba(106,73,242,0.18);
        border-color: rgba(106,73,242,0.25);
        text-decoration: none !important;
    }
    .kh-prod-card-1 { --prod-c1: #6a49f2; --prod-c2: #3b2bb3; }
    .kh-prod-card-2 { --prod-c1: #0ea5e9; --prod-c2: #1e40af; }
    .kh-prod-card-3 { --prod-c1: #10b981; --prod-c2: #065f46; }
    .kh-prod-card-4 { --prod-c1: #f59e0b; --prod-c2: #b45309; }
    .kh-prod-card-5 { --prod-c1: #ec4899; --prod-c2: #9d174d; }

    .kh-prod-icon-wrap {
        width: 64px; height: 64px;
        border-radius: 18px;
        background: linear-gradient(135deg, var(--prod-c1), var(--prod-c2));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.8rem;
        margin-bottom: 18px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.10);
        transition: transform .3s ease;
    }
    .kh-prod-card:hover .kh-prod-icon-wrap {
        transform: scale(1.08) rotate(-6deg);
    }
    .kh-prod-card-1 .kh-prod-icon-wrap {
        width: 78px; height: 78px;
        font-size: 2.1rem;
        border-radius: 22px;
    }

    .kh-prod-badge {
        position: absolute;
        top: 22px; left: 22px;
        background: linear-gradient(135deg, var(--prod-c1), var(--prod-c2));
        color: #fff;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }
    .kh-prod-badge-new { background: linear-gradient(135deg, #06b6d4, #0e7490) !important; }

    .kh-prod-card h3 {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin: 0 0 10px;
    }
    .kh-prod-card-1 h3 { font-size: 1.5rem; }

    .kh-prod-card > p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.9;
        margin: 0 0 16px;
    }
    .kh-prod-card-1 > p { font-size: 0.96rem; max-width: 520px; }

    .kh-prod-features {
        list-style: none;
        padding: 0;
        margin: 0 0 22px;
    }
    .kh-prod-features li {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px 0;
        font-size: 0.84rem;
        color: #555;
    }
    .kh-prod-features li i {
        color: var(--prod-c1);
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    .kh-prod-card-1 .kh-prod-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 18px;
    }

    .kh-prod-cta {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 22px;
        border-radius: 50px;
        background: linear-gradient(135deg, var(--prod-c1), var(--prod-c2));
        color: #fff !important;
        font-weight: 700;
        font-size: 0.88rem;
        align-self: flex-start;
        box-shadow: 0 6px 18px rgba(0,0,0,0.10);
        transition: transform .25s ease, box-shadow .25s ease, gap .25s ease;
    }
    .kh-prod-card:hover .kh-prod-cta {
        gap: 12px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }
    .kh-prod-cta i { transition: transform .25s ease; }
    .kh-prod-card:hover .kh-prod-cta i { transform: translateX(-4px); }

    .kh-products-foot {
        margin: 36px auto 0;
        max-width: 600px;
        text-align: center;
        font-size: 0.85rem;
        color: #888;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .kh-products-foot i { color: var(--purple); font-size: 1.05rem; }

    @media (max-width: 991px) {
        .kh-products-grid { grid-template-columns: repeat(2, 1fr); }
        .kh-prod-card-1 { grid-column: span 2; }
        .kh-prod-card-5 { grid-column: span 2; }
    }
    @media (max-width: 575px) {
        .kh-products-grid { grid-template-columns: 1fr; gap: 16px; }
        .kh-prod-card-1, .kh-prod-card-5 { grid-column: span 1; }
        .kh-prod-card-1 .kh-prod-features { grid-template-columns: 1fr; }
        .kh-prod-card { padding: 24px 22px 20px; }
    }

    /* ================================================================
       LIVE DEMO CUSTOMIZER — Pro version
       Uses scoped CSS vars on .kh-demo-card to recolor everything
       ================================================================ */
    .kh-demo-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #f6f4fe 0%, #fafaff 100%);
        position: relative;
        overflow: hidden;
    }
    .kh-demo-section::before {
        content: '';
        position: absolute;
        top: -120px; right: -120px;
        width: 360px; height: 360px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(106,73,242,0.10), transparent 70%);
    }
    .kh-demo-section::after {
        content: '';
        position: absolute;
        bottom: -120px; left: -120px;
        width: 320px; height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(236,72,153,0.10), transparent 70%);
    }
    .kh-demo-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        max-width: 1100px;
        margin: 0 auto;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    /* ===== Controls panel ===== */
    .kh-demo-controls {
        background: #fff;
        border-radius: 22px;
        padding: 28px 26px;
        box-shadow: 0 14px 40px rgba(15,23,42,0.06);
        border: 1px solid #f0edf8;
    }
    .kh-demo-presets {
        display: flex; flex-wrap: wrap; gap: 6px;
        margin-bottom: 22px;
        padding-bottom: 18px;
        border-bottom: 1px dashed #f0edf8;
    }
    .kh-demo-preset {
        flex: 1 0 auto;
        padding: 8px 12px;
        border-radius: 50px;
        border: 1.5px solid #f0edf8;
        background: #fafaff;
        color: #666;
        font-size: 0.78rem; font-weight: 700;
        cursor: pointer;
        transition: 0.2s;
        display: inline-flex; align-items: center; gap: 4px;
        font-family: inherit;
        white-space: nowrap;
    }
    .kh-demo-preset i { font-size: 0.95rem; }
    .kh-demo-preset:hover { border-color: var(--purple); color: var(--purple); }
    .kh-demo-preset.active {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-color: var(--purple);
        color: #fff;
        box-shadow: 0 4px 12px rgba(106,73,242,0.25);
    }
    .kh-demo-field-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .kh-demo-field { margin-bottom: 16px; }
    .kh-demo-field:last-of-type { margin-bottom: 12px; }
    .kh-demo-field label {
        display: flex; align-items: center; gap: 6px;
        font-size: 0.82rem; font-weight: 700;
        color: var(--dark-purple); margin-bottom: 7px;
    }
    .kh-demo-field label i { color: var(--purple); font-size: 0.95rem; }
    .kh-demo-field input[type="text"] {
        width: 100%; padding: 10px 14px;
        border-radius: 10px;
        border: 2px solid #f0edf8;
        background: #fafaff;
        font-size: 0.86rem;
        outline: none;
        transition: 0.25s;
        font-family: inherit;
    }
    .kh-demo-field input[type="text"]:focus {
        border-color: var(--purple);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(106,73,242,0.10);
    }
    .kh-demo-colors { display: flex; flex-wrap: wrap; gap: 9px; }
    .kh-demo-color {
        width: 32px; height: 32px;
        border-radius: 50%;
        border: 3px solid #fff;
        cursor: pointer;
        transition: 0.2s;
        box-shadow: 0 2px 8px rgba(15,23,42,0.10);
    }
    .kh-demo-color:hover { transform: scale(1.1); }
    .kh-demo-color.active {
        border-color: var(--purple);
        box-shadow: 0 0 0 3px rgba(106,73,242,0.22);
        transform: scale(1.12);
    }
    .kh-demo-avatars { display: flex; flex-wrap: wrap; gap: 7px; }
    .kh-demo-avatar {
        width: 38px; height: 38px;
        border-radius: 10px;
        border: 2px solid #f0edf8;
        background: #fafaff;
        color: #888;
        font-size: 1rem;
        cursor: pointer;
        transition: 0.2s;
        display: flex; align-items: center; justify-content: center;
    }
    .kh-demo-avatar:hover { border-color: var(--purple); color: var(--purple); background: #f8f6ff; }
    .kh-demo-avatar.active {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-color: var(--purple);
        color: #fff;
        box-shadow: 0 4px 12px rgba(106,73,242,0.30);
    }
    .kh-demo-layouts { display: flex; gap: 8px; }
    .kh-demo-layout {
        flex: 1;
        padding: 10px 12px;
        border-radius: 10px;
        border: 2px solid #f0edf8;
        background: #fafaff;
        color: #888;
        font-size: 0.78rem; font-weight: 700;
        cursor: pointer;
        transition: 0.2s;
        display: inline-flex; align-items: center; justify-content: center; gap: 5px;
        font-family: inherit;
    }
    .kh-demo-layout:hover { border-color: var(--purple); color: var(--purple); }
    .kh-demo-layout.active {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-color: var(--purple);
        color: #fff;
    }
    .kh-demo-cta {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        width: 100%;
        padding: 14px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        font-weight: 700; font-size: 0.92rem;
        text-decoration: none;
        margin-top: 12px;
        box-shadow: 0 8px 22px rgba(106,73,242,0.30);
        transition: 0.25s;
    }
    .kh-demo-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(106,73,242,0.42);
        text-decoration: none; color: #fff !important;
    }
    .kh-demo-hint {
        margin: 12px 0 0;
        font-size: 0.74rem;
        color: #999;
        display: flex; align-items: flex-start; gap: 6px;
        line-height: 1.6;
    }
    .kh-demo-hint i { color: var(--purple); margin-top: 2px; }

    /* ===== Phone mockup ===== */
    .kh-demo-preview { display: flex; flex-direction: column; align-items: center; position: relative; }
    .kh-demo-phone {
        position: relative;
        animation: khDemoFloat 6s ease-in-out infinite;
    }
    @keyframes khDemoFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    .kh-demo-phone-frame {
        width: 310px;
        background: linear-gradient(145deg,#1e1e30,#0a0a18);
        border-radius: 42px;
        padding: 14px;
        box-shadow:
            0 40px 100px rgba(15,23,42,0.30),
            0 0 0 2px rgba(255,255,255,0.04) inset,
            0 0 0 3px rgba(0,0,0,0.4);
        position: relative;
    }
    .kh-demo-phone-frame::before {
        content: '';
        position: absolute;
        right: -2px; top: 110px;
        width: 3px; height: 30px;
        background: linear-gradient(180deg,#2a2a44,#1e1e30);
        border-radius: 0 3px 3px 0;
    }
    .kh-demo-phone-frame::after {
        content: '';
        position: absolute;
        right: -2px; top: 160px;
        width: 3px; height: 50px;
        background: linear-gradient(180deg,#2a2a44,#1e1e30);
        border-radius: 0 3px 3px 0;
    }
    .kh-demo-phone-notch {
        width: 110px; height: 26px;
        background: #0a0a18;
        border-radius: 0 0 18px 18px;
        margin: 0 auto 6px;
        position: relative;
    }
    .kh-demo-phone-notch::after {
        content: '';
        position: absolute;
        top: 8px; left: 50%; transform: translateX(28px);
        width: 8px; height: 8px;
        border-radius: 50%;
        background: radial-gradient(circle, #1a1a30, #050510);
        border: 1px solid rgba(255,255,255,0.08);
    }
    .kh-demo-phone-screen {
        background: #f5f6fa;
        border-radius: 28px;
        overflow: hidden;
        height: 600px;
        position: relative;
        display: flex; flex-direction: column;
    }

    /* Status bar */
    .kh-demo-status {
        flex-shrink: 0;
        padding: 6px 18px;
        background: #fff;
        display: flex; justify-content: space-between; align-items: center;
        font-size: 0.7rem; font-weight: 700; color: #333;
        direction: ltr;
    }
    .kh-demo-status-icons { display: flex; gap: 5px; font-size: 0.72rem; }
    /* Address bar */
    .kh-demo-addr {
        flex-shrink: 0;
        padding: 7px 14px;
        background: #fff;
        border-bottom: 1px solid #eef0f4;
        font-size: 0.7rem;
        color: #888;
        font-family: monospace;
        direction: ltr;
        text-align: center;
        display: flex; align-items: center; justify-content: center; gap: 5px;
    }
    .kh-demo-addr i { color: #10b981; font-size: 0.72rem; }

    /* ===== The card (scrollable content) ===== */
    .kh-demo-card {
        /* Theme variables — overridden by JS color picker */
        --dc-c1: #6a49f2;
        --dc-c2: #3b2bb3;
        --dc-accent: #fbbf24;
        --dc-radius: 20px;

        flex: 1; overflow-y: auto; overflow-x: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(106,73,242,0.30) transparent;
        background: #f5f6fa;
        font-size: 0.82rem;
    }
    .kh-demo-card::-webkit-scrollbar { width: 4px; }
    .kh-demo-card::-webkit-scrollbar-thumb { background: rgba(106,73,242,0.30); border-radius: 4px; }
    .kh-demo-card::-webkit-scrollbar-track { background: transparent; }

    /* ===== HERO ===== */
    .kh-demo-hero {
        position: relative;
        padding: 30px 18px 22px;
        text-align: center;
        color: #fff;
        overflow: hidden;
        transition: background 0.5s;
    }
    .kh-demo-hero-bg {
        position: absolute; inset: 0;
        background: linear-gradient(135deg, var(--dc-c1), var(--dc-c2));
        transition: background 0.5s ease;
        z-index: 0;
    }
    .kh-demo-hero-shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        z-index: 0;
    }
    .kh-demo-hero-shape-1 { top: -60px; right: -50px; width: 180px; height: 180px; }
    .kh-demo-hero-shape-2 { bottom: -80px; left: -40px; width: 140px; height: 140px; background: rgba(255,255,255,0.06); }
    .kh-demo-hero-inner { position: relative; z-index: 1; }

    .kh-demo-avatar-wrap {
        width: 86px; height: 86px;
        margin: 0 auto 14px;
        border-radius: 50%;
        background: rgba(255,255,255,0.20);
        border: 3px solid rgba(255,255,255,0.40);
        display: flex; align-items: center; justify-content: center;
        font-size: 2.1rem; color: #fff;
        backdrop-filter: blur(8px);
        position: relative;
        transition: transform 0.3s;
    }
    .kh-demo-card:hover .kh-demo-avatar-wrap { transform: scale(1.05); }
    .kh-demo-avatar-ring {
        position: absolute; inset: -6px;
        border-radius: 50%;
        border: 2px dashed rgba(255,255,255,0.40);
        animation: khDemoSpin 14s linear infinite;
    }
    @keyframes khDemoSpin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    .kh-demo-verified {
        position: absolute;
        bottom: -2px; right: -2px;
        width: 24px; height: 24px;
        border-radius: 50%;
        background: var(--dc-accent);
        color: var(--dc-c2);
        font-size: 0.65rem;
        display: flex; align-items: center; justify-content: center;
        border: 2px solid #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .kh-demo-card h3#dcCardName {
        font-size: 1.1rem; font-weight: 800;
        margin: 0 0 4px;
        color: #fff !important;
        word-break: break-word;
    }
    .kh-demo-role {
        font-size: 0.82rem;
        opacity: 0.92;
        margin: 0 0 8px;
        color: #fff;
        font-weight: 600;
    }
    .kh-demo-stars {
        display: inline-flex; align-items: center; gap: 4px;
        background: rgba(255,255,255,0.16);
        padding: 4px 10px;
        border-radius: 50px;
        font-size: 0.72rem; color: #fff;
        margin-bottom: 10px;
    }
    .kh-demo-stars i { color: var(--dc-accent); font-size: 0.78rem; }
    .kh-demo-stars-count { margin-right: 4px; opacity: 0.95; }
    .kh-demo-tagline {
        font-size: 0.78rem;
        opacity: 0.92;
        margin: 6px 12px 12px;
        line-height: 1.7;
        color: #fff;
    }
    .kh-demo-tags {
        display: flex; flex-wrap: wrap; justify-content: center; gap: 5px;
        margin-bottom: 14px;
    }
    .kh-demo-tag {
        background: rgba(255,255,255,0.16);
        backdrop-filter: blur(4px);
        color: #fff;
        font-size: 0.68rem;
        font-weight: 600;
        padding: 3px 10px;
        border-radius: 50px;
        border: 1px solid rgba(255,255,255,0.18);
    }

    .kh-demo-hero-cta {
        display: flex; gap: 6px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .kh-demo-hero-btn {
        display: inline-flex; align-items: center; gap: 5px;
        padding: 8px 14px;
        border-radius: 50px;
        font-size: 0.74rem; font-weight: 700;
        cursor: pointer;
        border: none;
        transition: 0.2s;
        font-family: inherit;
    }
    .kh-demo-hero-btn-primary {
        background: var(--dc-accent);
        color: var(--dc-c2);
        box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    }
    .kh-demo-hero-btn-primary:hover { transform: translateY(-2px); }
    .kh-demo-hero-btn-ghost {
        background: rgba(255,255,255,0.16);
        color: #fff;
        border: 1px solid rgba(255,255,255,0.30);
    }
    .kh-demo-hero-btn-ghost:hover { background: rgba(255,255,255,0.26); }

    /* ===== STATS ROW ===== */
    .kh-demo-stats {
        background: #fff;
        margin: -16px 14px 0;
        border-radius: 14px;
        padding: 14px 8px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        box-shadow: 0 6px 20px rgba(15,23,42,0.08);
        position: relative;
        z-index: 2;
    }
    .kh-demo-stat { text-align: center; }
    .kh-demo-stat + .kh-demo-stat { border-right: 1px solid #f0edf8; }
    .kh-demo-stat strong {
        display: block;
        font-size: 1.05rem; font-weight: 800;
        color: var(--dc-c1);
        margin-bottom: 2px;
        transition: color 0.4s;
    }
    .kh-demo-stat span {
        font-size: 0.66rem; color: #888;
        font-weight: 600;
    }

    /* ===== Block (services / hours / contacts) ===== */
    .kh-demo-block {
        background: #fff;
        margin: 14px;
        border-radius: 14px;
        padding: 16px 14px;
        box-shadow: 0 4px 14px rgba(15,23,42,0.05);
    }
    .kh-demo-block-title {
        font-size: 0.86rem; font-weight: 800;
        color: #0f172a;
        margin: 0 0 12px;
        display: flex; align-items: center; gap: 6px;
    }
    .kh-demo-block-title i {
        color: var(--dc-c1);
        font-size: 1rem;
        transition: color 0.4s;
    }

    .kh-demo-services { list-style: none; padding: 0; margin: 0; }
    .kh-demo-services li {
        display: flex; align-items: flex-start; gap: 10px;
        padding: 10px 0;
        border-bottom: 1px dashed #f0edf8;
    }
    .kh-demo-services li:last-child { border-bottom: none; padding-bottom: 0; }
    .kh-demo-service-icon {
        flex-shrink: 0;
        width: 36px; height: 36px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--dc-c1), var(--dc-c2));
        color: #fff;
        font-size: 0.9rem;
        display: flex; align-items: center; justify-content: center;
        transition: background 0.4s;
    }
    .kh-demo-services h5 {
        margin: 0 0 2px;
        font-size: 0.8rem; font-weight: 700; color: #0f172a;
    }
    .kh-demo-services p {
        margin: 0;
        font-size: 0.7rem; color: #888;
        line-height: 1.6;
    }

    .kh-demo-hours { display: flex; flex-direction: column; gap: 6px; }
    .kh-demo-hours-row {
        display: flex; justify-content: space-between; align-items: center;
        font-size: 0.74rem;
        padding: 6px 0;
        color: #444;
    }
    .kh-demo-hours-row b { color: var(--dc-c1); transition: color 0.4s; }
    .kh-demo-hours-row.kh-demo-hours-off b { color: #ef4444; }

    /* ===== Contact grid ===== */
    .kh-demo-contact-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .kh-demo-contact {
        display: flex; flex-direction: column; align-items: center; gap: 4px;
        padding: 12px 4px;
        border-radius: 12px;
        font-size: 0.7rem; font-weight: 700;
        color: #fff !important;
        text-decoration: none;
        transition: 0.2s;
    }
    .kh-demo-contact:hover { transform: translateY(-2px); text-decoration: none; color: #fff !important; }
    .kh-demo-contact i { font-size: 1.1rem; }
    .kh-demo-contact-phone { background: linear-gradient(135deg,#10b981,#059669); }
    .kh-demo-contact-wa    { background: linear-gradient(135deg,#22c55e,#16a34a); }
    .kh-demo-contact-tg    { background: linear-gradient(135deg,#0ea5e9,#0369a1); }
    .kh-demo-contact-ig    { background: linear-gradient(135deg,#ec4899,#8b5cf6); }
    .kh-demo-contact-mail  { background: linear-gradient(135deg,#ef4444,#b91c1c); }
    .kh-demo-contact-map   { background: linear-gradient(135deg,#f59e0b,#d97706); }

    /* ===== Location card ===== */
    .kh-demo-loc {
        display: flex; align-items: center; gap: 12px;
        background: linear-gradient(135deg, rgba(106,73,242,0.06), rgba(59,43,179,0.06));
        border-radius: 12px;
        padding: 12px;
    }
    .kh-demo-loc-map {
        flex-shrink: 0;
        width: 50px; height: 50px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--dc-c1), var(--dc-c2));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.4rem;
        position: relative;
        transition: background 0.4s;
    }
    .kh-demo-loc-map::before {
        content: '';
        position: absolute; inset: 0;
        background:
            linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px) 0 0 / 8px 8px,
            linear-gradient(0deg, rgba(255,255,255,0.10) 1px, transparent 1px) 0 0 / 8px 8px;
        border-radius: 12px;
    }
    .kh-demo-loc-info h5 {
        margin: 0 0 2px;
        font-size: 0.78rem; font-weight: 700; color: #0f172a;
    }
    .kh-demo-loc-info p {
        margin: 0 0 2px;
        font-size: 0.72rem; color: #444;
    }
    .kh-demo-loc-info span {
        font-size: 0.66rem; color: #999;
    }

    /* ===== Footer (QR + save) ===== */
    .kh-demo-footer {
        margin: 14px;
        padding: 16px 14px;
        background: linear-gradient(135deg, var(--dc-c1), var(--dc-c2));
        border-radius: 14px;
        text-align: center;
        transition: background 0.4s;
    }
    .kh-demo-qr {
        background: #fff;
        border-radius: 12px;
        padding: 10px;
        display: flex; align-items: center; gap: 10px;
        margin-bottom: 10px;
    }
    .kh-demo-qr-pattern {
        width: 56px; height: 56px;
        flex-shrink: 0;
        background:
            linear-gradient(45deg, #0f172a 25%, transparent 25%) 0 0 / 8px 8px,
            linear-gradient(-45deg, #0f172a 25%, transparent 25%) 0 4px / 8px 8px,
            linear-gradient(45deg, transparent 75%, #0f172a 75%) 4px -4px / 8px 8px,
            linear-gradient(-45deg, transparent 75%, #0f172a 75%) -4px 0px / 8px 8px,
            #fff;
        border: 2px solid #0f172a;
        border-radius: 6px;
    }
    .kh-demo-qr span {
        font-size: 0.7rem;
        font-weight: 700; color: #0f172a;
        line-height: 1.5;
        text-align: right;
    }
    .kh-demo-save {
        width: 100%;
        padding: 10px;
        border-radius: 10px;
        background: rgba(255,255,255,0.95);
        color: var(--dc-c2);
        border: none;
        font-size: 0.8rem; font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        transition: 0.2s;
    }
    .kh-demo-save:hover { background: #fff; transform: translateY(-2px); }
    .kh-demo-brand {
        margin-top: 10px;
        font-size: 0.66rem; color: rgba(255,255,255,0.8);
    }
    .kh-demo-brand span { color: var(--dc-accent); font-weight: 800; }
    .kh-demo-brand i { color: #fbbf24; }

    /* Scroll hint */
    .kh-demo-scroll-hint {
        position: absolute;
        bottom: 8px; left: 50%;
        transform: translateX(-50%);
        background: rgba(15,23,42,0.65);
        color: #fff;
        padding: 4px 10px;
        border-radius: 50px;
        font-size: 0.66rem;
        display: flex; align-items: center; gap: 4px;
        opacity: 0;
        animation: khDemoHintFade 0.4s 0.8s forwards, khDemoHintBounce 2.2s 1.3s ease-in-out infinite;
        pointer-events: none;
        z-index: 5;
    }
    .kh-demo-scroll-hint.hide { opacity: 0 !important; }
    .kh-demo-scroll-hint span {
        width: 10px; height: 14px;
        border: 1.5px solid #fff;
        border-radius: 6px;
        position: relative;
    }
    .kh-demo-scroll-hint span::after {
        content: '';
        position: absolute;
        top: 2px; left: 50%;
        transform: translateX(-50%);
        width: 2px; height: 4px;
        background: #fff;
        border-radius: 1px;
        animation: khDemoScrollDot 1.4s ease-in-out infinite;
    }
    @keyframes khDemoHintFade { to { opacity: 1; } }
    @keyframes khDemoHintBounce {
        0%, 100% { transform: translate(-50%, 0); }
        50% { transform: translate(-50%, -4px); }
    }
    @keyframes khDemoScrollDot {
        0%, 100% { opacity: 1; transform: translate(-50%, 0); }
        50% { opacity: 0.3; transform: translate(-50%, 4px); }
    }

    /* ===== Layout variants ===== */
    .kh-demo-card[data-layout="minimal"] .kh-demo-hero-shape,
    .kh-demo-card[data-layout="minimal"] .kh-demo-avatar-ring { display: none; }
    .kh-demo-card[data-layout="minimal"] .kh-demo-hero { padding: 24px 18px 18px; }
    .kh-demo-card[data-layout="minimal"] .kh-demo-avatar-wrap { width: 64px; height: 64px; font-size: 1.6rem; }
    .kh-demo-card[data-layout="minimal"] .kh-demo-tags { display: none; }
    .kh-demo-card[data-layout="minimal"] .kh-demo-stars { display: none; }

    .kh-demo-card[data-layout="elegant"] .kh-demo-hero {
        text-align: center;
        padding: 36px 18px 30px;
    }
    .kh-demo-card[data-layout="elegant"] .kh-demo-avatar-wrap {
        border-radius: 14px;
        width: 80px; height: 80px;
    }
    .kh-demo-card[data-layout="elegant"] .kh-demo-avatar-ring { border-style: solid; border-width: 1px; border-radius: 18px; }
    .kh-demo-card[data-layout="elegant"] .kh-demo-hero-shape { display: none; }
    .kh-demo-card[data-layout="elegant"] .kh-demo-hero-btn { border-radius: 4px; }
    .kh-demo-card[data-layout="elegant"] .kh-demo-tag { border-radius: 4px; }

    /* ===== Share bar ===== */
    .kh-demo-share-bar {
        margin-top: 22px;
        background: #fff;
        border: 1px solid #f0edf8;
        border-radius: 50px;
        padding: 6px 6px 6px 18px;
        display: flex; align-items: center; gap: 10px;
        font-size: 0.78rem; color: #666; font-weight: 600;
        box-shadow: 0 4px 14px rgba(15,23,42,0.05);
        direction: ltr;
        max-width: 320px;
    }
    .kh-demo-share-bar > span {
        flex: 1; min-width: 0;
        display: flex; align-items: center; gap: 6px;
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .kh-demo-share-bar > span i { color: var(--purple); }
    .kh-demo-share-actions { display: flex; gap: 4px; flex-shrink: 0; }
    .kh-demo-share-icon {
        width: 30px; height: 30px;
        border-radius: 50%;
        background: #fafaff;
        color: #666;
        border: 1px solid #f0edf8;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.82rem;
        transition: 0.2s;
    }
    .kh-demo-share-icon:hover { background: #f4f2ff; color: var(--purple); border-color: var(--purple); }
    .kh-demo-share-icon-main {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        border-color: var(--purple);
    }
    .kh-demo-share-icon-main:hover { color: #fff; transform: scale(1.06); }

    /* === Testimonials (data-driven) === */
    /* =========================================================
       Testimonials — "Wall of Love" redesign (kh-tw-*)
       Header → trust metrics bar → 3-col card wall → CTA bar.
       6 rotating color palettes (c1..c6) tint the card chrome.
       Form below this block keeps its original kh-tm-form-* CSS.
       ========================================================= */
    .kh-tw-section {
        position: relative;
        padding: 90px 0 100px;
        background: linear-gradient(180deg, #fbfaff 0%, #f3effe 100%);
        overflow: hidden;
    }
    .kh-tw-bg-shapes {
        position: absolute; inset: 0;
        pointer-events: none;
        z-index: 0;
    }
    .kh-tw-shape {
        position: absolute;
        border-radius: 50%;
        filter: blur(60px);
        opacity: 0.55;
    }
    .kh-tw-shape-1 { width: 320px; height: 320px; top: -80px; right: -100px;
        background: radial-gradient(circle, rgba(106,73,242,0.28), transparent 70%); }
    .kh-tw-shape-2 { width: 280px; height: 280px; bottom: -60px; left: -80px;
        background: radial-gradient(circle, rgba(251,191,36,0.22), transparent 70%); }
    .kh-tw-shape-3 { width: 220px; height: 220px; top: 40%; left: 35%;
        background: radial-gradient(circle, rgba(16,185,129,0.10), transparent 70%); }
    .kh-tw-section > .container { position: relative; z-index: 1; }

    /* Header */
    .kh-tw-header {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 44px;
    }
    .kh-tw-badge {
        display: inline-flex;
        align-items: center; gap: 6px;
        padding: 7px 16px;
        background: rgba(106,73,242,0.10);
        color: var(--purple);
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 800;
        margin-bottom: 14px;
        border: 1px solid rgba(106,73,242,0.15);
    }
    .kh-tw-badge i { font-size: 0.9rem; color: #ef4444; }
    .kh-tw-header h2 {
        margin: 0 0 14px;
        font-size: 2.1rem;
        font-weight: 900;
        color: var(--dark-purple);
        line-height: 1.5;
    }
    .kh-tw-grad {
        background: linear-gradient(135deg, var(--purple), #f59e0b);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kh-tw-header p {
        margin: 0;
        color: #555;
        font-size: 0.98rem;
        line-height: 2;
    }

    /* Trust metrics bar */
    .kh-tw-metrics {
        max-width: 940px;
        margin: 0 auto 50px;
        background: #fff;
        border: 1px solid #ece6f7;
        border-radius: 24px;
        padding: 26px 32px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        box-shadow: 0 18px 48px rgba(106,73,242,0.10);
    }
    .kh-tw-metric {
        text-align: center;
        position: relative;
        padding: 6px 12px;
    }
    .kh-tw-metric + .kh-tw-metric::before {
        content: "";
        position: absolute;
        right: 0; top: 14%; height: 72%;
        width: 1px;
        background: #ede9fe;
    }
    .kh-tw-metric-num {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 2px;
        margin-bottom: 6px;
    }
    .kh-tw-metric-num strong {
        font-size: 2rem;
        font-weight: 900;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1;
    }
    .kh-tw-metric-sub {
        font-size: 0.86rem;
        color: #b3a8d1;
        font-weight: 700;
    }
    .kh-tw-metric-stars {
        display: inline-flex;
        gap: 2px;
        direction: ltr;
        margin-bottom: 6px;
    }
    .kh-tw-metric-stars i { font-size: 0.86rem; color: #fbbf24; }
    .kh-tw-metric-stars i.icofont-ui-rating { color: #e8e5f2; }
    .kh-tw-metric-ico {
        display: inline-block;
        font-size: 1.05rem;
        color: var(--purple);
        margin-bottom: 6px;
    }
    .kh-tw-metric small {
        display: block;
        font-size: 0.76rem;
        color: #777;
        font-weight: 600;
    }

    /* Wall of Love grid */
    .kh-tw-wall {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        margin-bottom: 50px;
    }
    .kh-tw-card {
        position: relative;
        background: #fff;
        border: 1px solid #ece6f7;
        border-radius: 20px;
        padding: 24px 22px 20px;
        display: flex;
        flex-direction: column;
        box-shadow: 0 8px 24px rgba(15,23,42,0.04);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        overflow: hidden;
    }
    .kh-tw-card::before {
        content: "";
        position: absolute;
        top: 0; right: 0; left: 0;
        height: 4px;
        background: var(--tw-accent, var(--purple));
        transform: scaleX(0.4);
        transform-origin: right center;
        transition: transform 0.35s ease;
    }
    .kh-tw-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 48px rgba(106,73,242,0.14);
        border-color: rgba(106,73,242,0.18);
    }
    .kh-tw-card:hover::before { transform: scaleX(1); }

    /* Card color palettes — drive top-bar accent + avatar gradient */
    .kh-tw-c1 { --tw-accent: linear-gradient(90deg, #6a49f2, #8b5cf6); --tw-av-a: #6a49f2; --tw-av-b: #8b5cf6; }
    .kh-tw-c2 { --tw-accent: linear-gradient(90deg, #f59e0b, #fbbf24); --tw-av-a: #f59e0b; --tw-av-b: #fbbf24; }
    .kh-tw-c3 { --tw-accent: linear-gradient(90deg, #059669, #10b981); --tw-av-a: #059669; --tw-av-b: #10b981; }
    .kh-tw-c4 { --tw-accent: linear-gradient(90deg, #db2777, #f472b6); --tw-av-a: #db2777; --tw-av-b: #f472b6; }
    .kh-tw-c5 { --tw-accent: linear-gradient(90deg, #4338ca, #6366f1); --tw-av-a: #4338ca; --tw-av-b: #6366f1; }
    .kh-tw-c6 { --tw-accent: linear-gradient(90deg, #0891b2, #06b6d4); --tw-av-a: #0891b2; --tw-av-b: #06b6d4; }

    .kh-tw-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    .kh-tw-rating {
        display: inline-flex; gap: 2px;
        direction: ltr;
    }
    .kh-tw-rating i { font-size: 0.96rem; color: #fbbf24; }
    .kh-tw-rating i.icofont-ui-rating { color: #e8e5f2; }
    .kh-tw-quote {
        font-size: 1.7rem;
        color: rgba(106,73,242,0.14);
        line-height: 1;
    }
    .kh-tw-title {
        margin: 0 0 10px;
        font-size: 1rem;
        font-weight: 800;
        color: var(--dark-purple);
        line-height: 1.6;
    }
    .kh-tw-text {
        flex: 1;
        margin: 0 0 18px;
        font-size: 0.9rem;
        color: #555;
        line-height: 2;
    }
    .kh-tw-author {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px dashed #ece6f7;
    }
    .kh-tw-avatar {
        flex-shrink: 0;
        width: 44px; height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--tw-av-a, var(--purple)), var(--tw-av-b, var(--dark-purple)));
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 800;
        box-shadow: 0 6px 16px rgba(0,0,0,0.10);
    }
    .kh-tw-author-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .kh-tw-author-info strong {
        font-size: 0.92rem;
        font-weight: 800;
        color: var(--dark-purple);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .kh-tw-author-info span {
        font-size: 0.76rem;
        color: #888;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .kh-tw-verified {
        flex-shrink: 0;
        width: 26px; height: 26px;
        border-radius: 50%;
        background: rgba(16,185,129,0.12);
        color: #059669;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
    }

    /* CTA bar */
    .kh-tw-cta-bar {
        max-width: 940px;
        margin: 0 auto;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-radius: 24px;
        padding: 26px 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
        box-shadow: 0 18px 42px rgba(106,73,242,0.28);
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    .kh-tw-cta-bar::after {
        content: "";
        position: absolute;
        top: -40px; left: -40px;
        width: 220px; height: 220px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
        pointer-events: none;
    }
    .kh-tw-cta-text {
        position: relative; z-index: 1;
        display: flex; flex-direction: column;
        gap: 4px;
    }
    .kh-tw-cta-text strong {
        font-size: 1.05rem;
        font-weight: 800;
    }
    .kh-tw-cta-text span {
        font-size: 0.86rem;
        opacity: 0.85;
    }
    .kh-tw-cta-actions {
        position: relative; z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 18px;
        flex-shrink: 0;
    }
    .kh-tw-cta-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 22px;
        background: #fff;
        color: var(--purple) !important;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 800;
        text-decoration: none !important;
        box-shadow: 0 8px 22px rgba(0,0,0,0.18);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .kh-tw-cta-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(0,0,0,0.25);
        color: var(--dark-purple) !important;
    }
    .kh-tw-cta-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #fff !important;
        font-size: 0.86rem;
        font-weight: 700;
        text-decoration: none !important;
        opacity: 0.92;
        transition: gap 0.25s ease, opacity 0.2s ease;
    }
    .kh-tw-cta-link:hover { gap: 10px; opacity: 1; color: #fff !important; }

    /* Empty state */
    .kh-tw-empty {
        max-width: 560px;
        margin: 0 auto 40px;
        text-align: center;
        background: #fff;
        border: 2px dashed #e2dbf3;
        border-radius: 24px;
        padding: 44px 32px;
    }
    .kh-tw-empty-ico {
        width: 90px; height: 90px;
        margin: 0 auto 20px;
        border-radius: 24px;
        background: linear-gradient(135deg, #ede9fe, #faf8ff);
        color: var(--purple);
        display: flex; align-items: center; justify-content: center;
        font-size: 2.4rem;
    }
    .kh-tw-empty h4 {
        margin: 0 0 8px;
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-tw-empty p {
        margin: 0 0 22px;
        color: #666;
        font-size: 0.92rem;
        line-height: 2;
    }
    .kh-tw-empty .kh-tw-cta-primary {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        box-shadow: 0 10px 26px rgba(106,73,242,0.30);
    }
    .kh-tw-empty .kh-tw-cta-primary:hover { color: #fff !important; }

    /* === Submit-Review Form === */
    .kh-tm-form-wrap {
        margin-top: 50px;
        scroll-margin-top: 90px;
    }
    .kh-tm-form-card {
        max-width: 880px;
        margin: 0 auto;
        background: #fff;
        border: 1px solid #f0edf8;
        border-radius: 24px;
        padding: 38px 40px;
        box-shadow: 0 18px 44px rgba(106, 73, 242, 0.08);
        position: relative;
        overflow: hidden;
    }
    .kh-tm-form-card::before {
        content: '';
        position: absolute;
        top: -100px; left: -100px;
        width: 280px; height: 280px;
        background: radial-gradient(circle, rgba(106, 73, 242, 0.06), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .kh-tm-form-card::after {
        content: '';
        position: absolute;
        bottom: -100px; right: -100px;
        width: 280px; height: 280px;
        background: radial-gradient(circle, rgba(251, 191, 36, 0.07), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .kh-tm-form-card > * { position: relative; z-index: 1; }

    .kh-tm-form-head { text-align: center; margin-bottom: 26px; }
    .kh-tm-form-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        background: rgba(106, 73, 242, 0.10);
        color: var(--purple);
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 12px;
    }
    .kh-tm-form-head h3 {
        margin: 0 0 8px;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--dark-purple);
        line-height: 1.5;
    }
    .kh-tm-form-head h3 span { color: var(--purple); }
    .kh-tm-form-head p {
        margin: 0 auto;
        max-width: 520px;
        font-size: 0.88rem;
        color: #666;
        line-height: 1.9;
    }

    /* Interactive star rating */
    .kh-tm-form-rate {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 0 0 28px;
        padding: 20px;
        background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
        border: 1px solid #fde68a;
        border-radius: 16px;
        text-align: center;
    }
    .kh-tm-form-rate > label {
        font-size: 0.86rem;
        font-weight: 700;
        color: #92400e;
        margin: 0;
    }
    .kh-tm-stars-input {
        display: inline-flex;
        gap: 8px;
        direction: ltr;
        cursor: pointer;
    }
    .kh-tm-stars-input i {
        font-size: 2rem;
        color: #e8e5f2;
        transition: transform 0.18s ease, color 0.18s ease;
    }
    .kh-tm-stars-input i.is-on {
        color: #fbbf24;
        text-shadow: 0 4px 10px rgba(251, 191, 36, 0.35);
    }
    .kh-tm-stars-input i:hover { transform: scale(1.18); }
    .kh-tm-rate-hint {
        display: inline-block;
        font-size: 0.86rem;
        font-weight: 700;
        color: #92400e;
        background: rgba(255, 255, 255, 0.6);
        padding: 4px 14px;
        border-radius: 50px;
        min-width: 80px;
    }

    /* Fields */
    .kh-tm-form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    .kh-tm-field {
        margin-bottom: 16px;
    }
    .kh-tm-field label {
        display: block;
        font-size: 0.84rem;
        font-weight: 600;
        color: #555;
        margin-bottom: 8px;
    }
    .kh-tm-field label .req { color: #ef4444; font-weight: 800; }
    .kh-tm-field input,
    .kh-tm-field textarea {
        width: 100%;
        padding: 12px 16px;
        background: #fff;
        border: 1.5px solid #e0d9f1;
        border-radius: 12px;
        font-family: inherit;
        font-size: 0.92rem;
        color: var(--dark-purple);
        outline: none;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }
    .kh-tm-field input::placeholder,
    .kh-tm-field textarea::placeholder {
        color: #b3a8d1;
        font-size: 0.86rem;
    }
    .kh-tm-field input:focus,
    .kh-tm-field textarea:focus {
        border-color: var(--purple);
        box-shadow: 0 0 0 4px rgba(106, 73, 242, 0.10);
    }
    .kh-tm-field textarea {
        resize: vertical;
        min-height: 110px;
        line-height: 1.9;
    }
    .kh-tm-counter {
        display: block;
        text-align: left;
        margin-top: 6px;
        font-size: 0.72rem;
        color: #999;
        direction: ltr;
    }

    .kh-tm-form-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-top: 24px;
        padding-top: 22px;
        border-top: 1px dashed #e8e3f5;
    }
    .kh-tm-note {
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.82rem;
        color: #666;
        line-height: 1.6;
    }
    .kh-tm-note i { color: var(--purple); font-size: 1rem; }
    .kh-tm-submit {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 28px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        border: 0;
        border-radius: 50px;
        font-family: inherit;
        font-size: 0.92rem;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 10px 24px rgba(106, 73, 242, 0.30);
        transition: all 0.25s ease;
    }
    .kh-tm-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(106, 73, 242, 0.40);
    }

    @media (max-width: 991px) {
        .kh-tw-section { padding: 70px 0 80px; }
        .kh-tw-header h2 { font-size: 1.7rem; }
        .kh-tw-metrics { grid-template-columns: repeat(2, 1fr); row-gap: 24px; padding: 22px; }
        .kh-tw-metric + .kh-tw-metric::before { display: none; }
        .kh-tw-metric:nth-child(2)::before,
        .kh-tw-metric:nth-child(4)::before { display: block; }
        .kh-tw-wall { grid-template-columns: repeat(2, 1fr); }
        .kh-tw-cta-bar { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }
        .kh-tw-cta-actions { justify-content: center; flex-wrap: wrap; }
    }
    @media (max-width: 575px) {
        .kh-tw-section { padding: 56px 0 70px; }
        .kh-tw-header h2 { font-size: 1.4rem; line-height: 1.6; }
        .kh-tw-header p { font-size: 0.9rem; }
        .kh-tw-metrics { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
        .kh-tw-metric + .kh-tw-metric::before { display: none; }
        .kh-tw-metric { padding: 12px 0; border-top: 1px solid #f0edf8; }
        .kh-tw-metric:first-child { border-top: 0; padding-top: 0; }
        .kh-tw-wall { grid-template-columns: 1fr; gap: 18px; }
        .kh-tw-cta-text strong { font-size: 1rem; }
        .kh-tw-cta-actions { gap: 12px; }
        .kh-tw-cta-primary { padding: 11px 18px; font-size: 0.85rem; }

        .kh-tm-form-card { padding: 26px 22px; }
        .kh-tm-form-head h3 { font-size: 1.2rem; }
        .kh-tm-stars-input i { font-size: 1.7rem; }
        .kh-tm-form-row { grid-template-columns: 1fr; gap: 0; }
        .kh-tm-form-foot { flex-direction: column; align-items: stretch; text-align: center; }
        .kh-tm-form-foot .kh-tm-submit { justify-content: center; }
    }

    /* === Featured templates: 5-product tabs === */
    .kh-pt-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 24px;
    }
    .kh-pt-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 22px;
        background: #fff;
        color: #555;
        border: 2px solid #f0edf8;
        border-radius: 50px;
        font-family: inherit;
        font-size: 0.88rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.25s ease;
    }
    .kh-pt-tab i {
        font-size: 1.05rem;
        color: var(--purple);
        transition: color 0.25s ease;
    }
    .kh-pt-tab:hover {
        border-color: var(--purple);
        color: var(--purple);
    }
    .kh-pt-tab.active {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        border-color: var(--purple);
        box-shadow: 0 8px 22px rgba(106,73,242,0.30);
    }
    .kh-pt-tab.active i { color: #fff; }

    /* Per-product accent color when active (override gradient with product-specific colors) */
    .kh-pt-tab[data-product="business-card"].active { background: linear-gradient(135deg, #6a49f2, #3b2bb3); border-color: #6a49f2; box-shadow: 0 8px 22px rgba(106,73,242,0.30); }
    .kh-pt-tab[data-product="resume"].active        { background: linear-gradient(135deg, #0ea5e9, #1e40af); border-color: #0ea5e9; box-shadow: 0 8px 22px rgba(14,165,233,0.30); }
    .kh-pt-tab[data-product="mini-site"].active     { background: linear-gradient(135deg, #10b981, #065f46); border-color: #10b981; box-shadow: 0 8px 22px rgba(16,185,129,0.30); }
    .kh-pt-tab[data-product="landing-page"].active  { background: linear-gradient(135deg, #f59e0b, #b45309); border-color: #f59e0b; box-shadow: 0 8px 22px rgba(245,158,11,0.30); }
    .kh-pt-tab[data-product="brand-identity"].active{ background: linear-gradient(135deg, #ec4899, #9d174d); border-color: #ec4899; box-shadow: 0 8px 22px rgba(236,72,153,0.30); }

    /* Description panel under tabs */
    .kh-pt-desc {
        display: flex;
        align-items: center;
        gap: 18px;
        background: linear-gradient(180deg, #faf8ff, #fff);
        border: 1px solid #f0edf8;
        border-radius: 18px;
        padding: 18px 26px;
        margin-bottom: 30px;
        box-shadow: 0 6px 18px rgba(15,23,42,0.04);
        transition: all 0.3s ease;
    }
    .kh-pt-desc-text { flex: 1; min-width: 0; }
    .kh-pt-desc-text h4 {
        margin: 0 0 4px;
        font-size: 1rem;
        font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-pt-desc-text p {
        margin: 0;
        font-size: 0.85rem;
        color: #666;
        line-height: 1.8;
    }
    .kh-pt-desc-cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 18px;
        background: var(--purple);
        color: #fff !important;
        border-radius: 50px;
        font-size: 0.84rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.25s ease;
        flex-shrink: 0;
    }
    .kh-pt-desc-cta:hover {
        background: var(--dark-purple);
        color: #fff !important;
        text-decoration: none;
        transform: translateX(-3px);
    }
    .kh-pt-desc-cta i { transition: transform 0.25s ease; }
    .kh-pt-desc-cta:hover i { transform: translateX(-2px); }

    /* Empty state (when a product has no templates yet) */
    .kh-tpl-empty {
        text-align: center;
        padding: 60px 30px;
        background: #faf8ff;
        border-radius: 22px;
        border: 2px dashed #e5e2f0;
        grid-column: 1 / -1;
    }
    .kh-tpl-empty i { font-size: 3.5rem; color: var(--purple); margin-bottom: 14px; display: block; }
    .kh-tpl-empty h4 {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin: 0 0 8px;
    }
    .kh-tpl-empty h4 span { color: var(--purple); }
    .kh-tpl-empty p {
        font-size: 0.88rem;
        color: #777;
        max-width: 480px;
        margin: 0 auto 20px;
        line-height: 1.9;
    }
    .kh-tpl-empty-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 26px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        border-radius: 50px;
        font-size: 0.92rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 6px 18px rgba(106,73,242,0.30);
        transition: 0.25s ease;
    }
    .kh-tpl-empty-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(106,73,242,0.45);
        color: #fff !important;
        text-decoration: none;
    }

    @media (max-width: 768px) {
        .kh-pt-tab { padding: 10px 16px; font-size: 0.80rem; }
        .kh-pt-tab i { font-size: 0.95rem; }
        .kh-pt-desc { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; }
        .kh-pt-desc-cta { align-self: stretch; justify-content: center; }
    }
    @media (max-width: 480px) {
        .kh-pt-tabs { gap: 6px; }
        .kh-pt-tab { padding: 8px 14px; font-size: 0.74rem; gap: 5px; }
    }

    /* Legacy compatibility (in case .kh-tpl-tabs is referenced elsewhere) */
    .kh-tpl-tabs .kh-cat-pill {
        border: none;
        cursor: pointer;
        font-family: inherit;
    }
    .kh-tpl-tabs .kh-cat-pill.active {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        box-shadow: 0 6px 16px rgba(106,73,242,0.25);
    }
    .kh-tpl-skeleton {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
    .kh-skl-card {
        height: 280px;
        border-radius: 18px;
        background: linear-gradient(90deg, #f4f2ff 0%, #faf8ff 50%, #f4f2ff 100%);
        background-size: 200% 100%;
        animation: khSklShimmer 1.4s ease-in-out infinite;
    }
    @keyframes khSklShimmer {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
    /* Higher specificity to beat `.kh-templates-cta .kh-btn-gallery` (which sets color:#fff) */
    .kh-templates-cta .kh-tpl-load-more,
    button.kh-tpl-load-more {
        background: #fff !important;
        color: var(--purple) !important;
        border: 2px solid var(--purple) !important;
        box-shadow: 0 4px 14px rgba(106,73,242,0.10) !important;
        margin-bottom: 10px;
        cursor: pointer;
        font-family: inherit;
    }
    .kh-templates-cta .kh-tpl-load-more i,
    button.kh-tpl-load-more i { color: var(--purple) !important; }
    .kh-templates-cta .kh-tpl-load-more:hover,
    button.kh-tpl-load-more:hover {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple)) !important;
        color: #fff !important;
        border-color: var(--purple) !important;
        box-shadow: 0 10px 28px rgba(106,73,242,0.35) !important;
        transform: translateY(-2px);
    }
    .kh-templates-cta .kh-tpl-load-more:hover i,
    button.kh-tpl-load-more:hover i { color: #fff !important; }
    .kh-tpl-load-more.kh-loading { pointer-events: none; opacity: 0.7; }
    .kh-tpl-load-more.kh-loading i { animation: khDemoSpin 0.8s linear infinite; }
    .kh-templates-grid.kh-fading {
        opacity: 0.4;
        pointer-events: none;
        transition: opacity 0.2s;
    }

    @media (max-width: 991px) {
        .kh-tpl-skeleton { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 575px) {
        .kh-tpl-skeleton { grid-template-columns: 1fr; }
    }

    /* === Platform Capabilities (kh-caps-*) — replaces old screens marquee === */
    .kh-caps-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
        position: relative;
        overflow: hidden;
    }
    .kh-caps-section::before {
        content: '';
        position: absolute;
        top: -200px; left: -200px;
        width: 500px; height: 500px;
        background: radial-gradient(circle, rgba(106,73,242,0.06), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    .kh-caps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1180px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    .kh-cap-card {
        position: relative;
        background: #fff;
        border-radius: 18px;
        padding: 24px 22px 60px;     /* extra bottom-padding for the tag */
        border: 1px solid #f0edf8;
        box-shadow: 0 6px 20px rgba(15,23,42,0.04);
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        text-align: center;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-cap-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 18px 40px rgba(106,73,242,0.14);
            border-color: rgba(106,73,242,0.20);
        }
        .kh-cap-card:hover .kh-cap-icon {
            transform: scale(1.08) rotate(-6deg);
        }
    }
    .kh-cap-icon {
        width: 60px; height: 60px;
        border-radius: 16px;
        margin: 0 auto 14px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.6rem;
        color: #fff;
        transition: transform 0.3s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    }
    .kh-cap-c1 { background: linear-gradient(135deg, #6a49f2, #3b2bb3); }
    .kh-cap-c2 { background: linear-gradient(135deg, #0f172a, #334155); }
    .kh-cap-c3 { background: linear-gradient(135deg, #10b981, #059669); }
    .kh-cap-c4 { background: linear-gradient(135deg, #ec4899, #9d174d); }
    .kh-cap-c5 { background: linear-gradient(135deg, #f59e0b, #b45309); }
    .kh-cap-c6 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
    .kh-cap-c7 { background: linear-gradient(135deg, #6366f1, #4338ca); }
    .kh-cap-c8 { background: linear-gradient(135deg, #ef4444, #b91c1c); }

    .kh-cap-card h4 {
        font-size: 0.98rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin: 0 0 8px;
    }
    .kh-cap-card p {
        font-size: 0.82rem;
        color: #666;
        line-height: 1.8;
        margin: 0;
    }
    .kh-cap-card p strong {
        font-family: monospace;
        background: #f4f2ff;
        color: var(--purple);
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: 700;
    }
    .kh-cap-tag {
        position: absolute;
        bottom: 18px; left: 50%;
        transform: translateX(-50%);
        background: #faf8ff;
        color: var(--purple);
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 700;
        white-space: nowrap;
        border: 1px solid #ede9fe;
    }

    /* Extras strip */
    .kh-caps-extras {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 40px auto 0;
        max-width: 980px;
        text-align: center;
    }
    .kh-caps-extras-title {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.86rem;
        font-weight: 700;
        color: var(--dark-purple);
        margin-left: 6px;
    }
    .kh-caps-extras-title i { color: var(--purple); }
    .kh-caps-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 16px;
        background: #fff;
        border: 1px solid #f0edf8;
        border-radius: 50px;
        font-size: 0.8rem;
        color: #555;
        font-weight: 600;
        transition: 0.2s ease;
    }
    .kh-caps-pill i { color: var(--purple); font-size: 0.92rem; }
    .kh-caps-pill:hover {
        border-color: var(--purple);
        color: var(--purple);
        transform: translateY(-2px);
    }

    @media (max-width: 991px) {
        .kh-caps-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
        .kh-caps-grid { grid-template-columns: 1fr; }
        .kh-caps-extras-title { width: 100%; justify-content: center; margin: 0 0 8px; }
    }

    /* === MULTI-DEVICE SHOWCASE (kh-multidev-*) === */
    .kh-multidev-section {
        padding: 90px 0 100px;
        background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
        position: relative;
        overflow: hidden;
    }
    .kh-multidev-stage {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
        height: 480px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Laptop */
    .kh-md-laptop {
        position: relative;
        width: 620px;
        max-width: 90%;
        z-index: 1;
    }
    .kh-md-laptop-lid {
        background: linear-gradient(145deg, #2a2a3e, #1e1e30);
        border-radius: 12px 12px 0 0;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .kh-md-dot {
        width: 9px; height: 9px;
        border-radius: 50%;
    }
    .kh-md-dot-r { background: #ff5f57; }
    .kh-md-dot-y { background: #febc2e; }
    .kh-md-dot-g { background: #28c840; }
    .kh-md-url {
        flex-grow: 1;
        background: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.55);
        font-size: 0.66rem;
        text-align: center;
        padding: 4px 10px;
        border-radius: 6px;
        font-family: monospace;
        direction: ltr;
        margin: 0 30px;
    }
    .kh-md-url i { font-size: 0.7rem; margin-left: 4px; }
    .kh-md-laptop-screen {
        background: linear-gradient(160deg, #f4f2ff, #fff);
        border: 2px solid #2a2a3e;
        border-top: none;
        padding: 26px 30px;
        min-height: 320px;
    }
    .kh-md-laptop-base {
        width: 105%;
        margin-left: -2.5%;
        height: 14px;
        background: linear-gradient(180deg, #3a3a50, #2a2a3e);
        border-radius: 0 0 8px 8px;
        position: relative;
    }
    .kh-md-laptop-base::after {
        content: '';
        position: absolute;
        top: 0; left: 50%; transform: translateX(-50%);
        width: 140px; height: 3px;
        background: rgba(255,255,255,0.10);
        border-radius: 0 0 4px 4px;
    }

    /* Laptop content elements */
    .kh-md-hero {
        display: flex;
        align-items: center;
        gap: 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid #ede9fe;
        margin-bottom: 14px;
    }
    .kh-md-avatar {
        width: 54px; height: 54px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.4rem;
        flex-shrink: 0;
        box-shadow: 0 6px 18px rgba(106,73,242,0.25);
    }
    .kh-md-avatar-lg { width: 64px; height: 64px; font-size: 1.7rem; }
    .kh-md-hero-text h6 {
        margin: 0 0 2px;
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-md-hero-text span {
        font-size: 0.78rem;
        color: var(--purple);
    }
    .kh-md-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 14px;
    }
    .kh-md-tags span {
        background: #f4f2ff;
        color: var(--purple);
        font-size: 0.66rem;
        font-weight: 600;
        padding: 3px 10px;
        border-radius: 50px;
    }
    .kh-md-services {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
        margin-bottom: 14px;
    }
    .kh-md-srv {
        background: #fff;
        border: 1px solid #ede9fe;
        border-radius: 8px;
        padding: 8px;
        font-size: 0.7rem;
        text-align: center;
        color: #555;
        font-weight: 600;
    }
    .kh-md-srv i { display: block; color: var(--purple); font-size: 1rem; margin-bottom: 4px; }
    .kh-md-cta-row {
        display: flex;
        gap: 6px;
    }
    .kh-md-cta-primary {
        flex: 1;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        padding: 7px 12px;
        border-radius: 7px;
        font-size: 0.74rem;
        font-weight: 700;
        text-align: center;
    }
    .kh-md-cta-ghost {
        flex: 1;
        background: #f8f6ff;
        color: var(--purple);
        border: 1px solid #ede9fe;
        padding: 7px 12px;
        border-radius: 7px;
        font-size: 0.74rem;
        font-weight: 700;
        text-align: center;
    }

    /* Phone (front-right, overlapping) */
    .kh-md-phone {
        position: absolute;
        bottom: -20px; right: 30px;
        width: 200px;
        background: linear-gradient(145deg, #1e1e30, #0f0f1e);
        border-radius: 28px;
        padding: 8px;
        box-shadow: 0 30px 60px rgba(15,23,42,0.30);
        z-index: 2;
        animation: khMdFloat 4s ease-in-out infinite;
    }
    @keyframes khMdFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    .kh-md-phone-notch {
        width: 60px; height: 14px;
        background: #0f0f1e;
        border-radius: 0 0 10px 10px;
        margin: 0 auto 6px;
    }
    .kh-md-phone-screen {
        background: linear-gradient(180deg, #fff, #faf8ff);
        border-radius: 20px;
        padding: 12px 14px 16px;
        min-height: 320px;
    }
    .kh-md-phone-status {
        display: flex;
        justify-content: space-between;
        font-size: 0.65rem;
        color: #888;
        margin-bottom: 8px;
    }
    .kh-md-phone-status i { margin-left: 2px; font-size: 0.7rem; }
    .kh-md-phone-addr {
        background: #f4f2ff;
        color: var(--purple);
        font-size: 0.62rem;
        padding: 5px 10px;
        border-radius: 50px;
        text-align: center;
        margin-bottom: 14px;
        font-family: monospace;
        direction: ltr;
    }
    .kh-md-phone-hero {
        text-align: center;
    }
    .kh-md-phone-hero .kh-md-avatar {
        margin: 0 auto 10px;
    }
    .kh-md-phone-hero h6 {
        margin: 0 0 2px;
        font-size: 0.88rem;
        font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-md-phone-hero .kh-md-role {
        display: block;
        font-size: 0.7rem;
        color: var(--purple);
        margin-bottom: 14px;
    }
    .kh-md-phone-actions {
        display: flex;
        justify-content: center;
        gap: 6px;
    }
    .kh-md-action {
        width: 30px; height: 30px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.78rem;
    }

    /* Floating badges */
    .kh-md-badge {
        position: absolute;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fff;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--dark-purple);
        box-shadow: 0 10px 28px rgba(15,23,42,0.10);
        border: 1px solid #f0edf8;
        z-index: 3;
    }
    .kh-md-badge i { color: var(--purple); }
    .kh-md-badge-1 { top: 30px; left: 10%; animation: khMdFloat 5s ease-in-out infinite; }
    .kh-md-badge-2 { top: 70px; right: 12%; animation: khMdFloat 6s ease-in-out infinite reverse; }
    .kh-md-badge-3 { bottom: 120px; left: 8%; animation: khMdFloat 4.5s ease-in-out infinite; }
    .kh-md-badge-4 { top: 50%; right: 4%; animation: khMdFloat 5.5s ease-in-out infinite reverse; }

    /* Features below */
    .kh-multidev-features {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        max-width: 1000px;
        margin: 60px auto 0;
    }
    .kh-md-feat {
        background: #fff;
        border-radius: 16px;
        padding: 22px 20px;
        text-align: center;
        border: 1px solid #f0edf8;
        box-shadow: 0 6px 18px rgba(15,23,42,0.04);
        transition: 0.3s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-md-feat:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 30px rgba(106,73,242,0.10);
        }
    }
    .kh-md-feat > i {
        font-size: 1.8rem;
        color: var(--purple);
        margin-bottom: 10px;
        display: block;
    }
    .kh-md-feat strong {
        display: block;
        font-size: 0.92rem;
        color: var(--dark-purple);
        font-weight: 800;
        margin-bottom: 4px;
    }
    .kh-md-feat span {
        font-size: 0.78rem;
        color: #666;
        line-height: 1.7;
    }

    @media (max-width: 991px) {
        .kh-multidev-stage { height: auto; flex-direction: column; gap: 30px; padding: 20px 0; }
        .kh-md-phone { position: static; margin: 0 auto; }
        .kh-md-badge { display: none; }
        .kh-multidev-features { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 480px) {
        .kh-md-laptop { transform: scale(0.95); }
        .kh-multidev-features { grid-template-columns: 1fr; }
    }

    /* === ABOUT KASSIT (kh-about-*) === */
    .kh-about-section {
        padding: 90px 0;
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
        position: relative;
        overflow: hidden;
    }
    .kh-about-section::before {
        content: '';
        position: absolute;
        top: -150px; right: -150px;
        width: 400px; height: 400px;
        background: radial-gradient(circle, rgba(106,73,242,0.06), transparent 70%);
        border-radius: 50%;
    }
    .kh-about-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 60px;
        align-items: center;
        max-width: 1180px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    .kh-about-text .kh-eyebrow { margin-bottom: 14px; }
    .kh-about-text h2 {
        font-size: 1.9rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin-bottom: 16px;
        line-height: 1.5;
    }
    .kh-about-text h2 span { color: var(--purple); }
    .kh-about-text > p {
        font-size: 0.95rem;
        color: #555;
        line-height: 2;
        margin-bottom: 24px;
    }
    .kh-about-values {
        list-style: none;
        padding: 0;
        margin: 0 0 28px;
    }
    .kh-about-values li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 0;
    }
    .kh-about-values li > i {
        width: 28px; height: 28px;
        border-radius: 50%;
        background: linear-gradient(135deg, #10b981, #059669);
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.78rem;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .kh-about-values strong {
        display: block;
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin-bottom: 3px;
    }
    .kh-about-values span {
        font-size: 0.85rem;
        color: #666;
        line-height: 1.8;
    }
    .kh-about-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 30px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        border-radius: 50px;
        font-weight: 800;
        font-size: 0.96rem;
        text-decoration: none;
        box-shadow: 0 10px 28px rgba(106,73,242,0.32);
        transition: 0.25s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-about-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 36px rgba(106,73,242,0.45);
            color: #fff !important;
            text-decoration: none;
        }
    }

    /* Stats card grid */
    .kh-about-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .kh-about-stat {
        background: #fff;
        border-radius: 16px;
        padding: 22px 20px;
        text-align: center;
        border: 1px solid #f0edf8;
        box-shadow: 0 8px 22px rgba(15,23,42,0.04);
        transition: 0.3s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-about-stat:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 36px rgba(106,73,242,0.12);
        }
    }
    .kh-about-stat-lg {
        grid-column: span 2;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        border: none;
    }
    .kh-about-stat-icon {
        width: 50px; height: 50px;
        border-radius: 14px;
        background: linear-gradient(135deg, #f4f2ff, #eae6ff);
        color: var(--purple);
        margin: 0 auto 10px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.3rem;
    }
    .kh-about-stat-lg .kh-about-stat-icon {
        background: rgba(255,255,255,0.18);
        color: #fff;
    }
    .kh-about-stat strong {
        display: block;
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--dark-purple);
        margin-bottom: 3px;
    }
    .kh-about-stat-lg strong {
        font-size: 2rem;
        color: #fff !important;
    }
    .kh-about-stat span {
        font-size: 0.8rem;
        color: #666;
    }
    .kh-about-stat-lg span {
        color: rgba(255,255,255,0.85);
        font-size: 0.86rem;
    }
    .kh-about-stat-rating .kh-about-stat-icon {
        background: linear-gradient(135deg, #fef3c7, #fde68a);
        color: #d97706;
    }

    @media (max-width: 991px) {
        .kh-about-grid { grid-template-columns: 1fr; gap: 36px; }
        .kh-about-text h2 { font-size: 1.5rem; }
    }
    @media (max-width: 480px) {
        .kh-about-stats { grid-template-columns: 1fr; }
        .kh-about-stat-lg { grid-column: span 1; }
    }

    /* === FINAL CTA (kh-final-*) — full-width hero-style closer === */
    .kh-final-cta {
        position: relative;
        padding: 100px 0 110px;
        background:
            linear-gradient(135deg, #1e1b4b 0%, #4c1d95 60%, #6a49f2 100%);
        color: #fff;
        overflow: hidden;
        text-align: center;
    }
    .kh-final-cta-bg {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }
    .kh-final-shape {
        position: absolute;
        border-radius: 50%;
        filter: blur(2px);
    }
    .kh-final-shape-1 {
        top: -80px; right: -100px;
        width: 380px; height: 380px;
        background: radial-gradient(circle, rgba(168,85,247,0.30), transparent 70%);
    }
    .kh-final-shape-2 {
        bottom: -120px; left: -80px;
        width: 420px; height: 420px;
        background: radial-gradient(circle, rgba(236,72,153,0.25), transparent 70%);
    }
    .kh-final-shape-3 {
        top: 30%; left: 50%; transform: translateX(-50%);
        width: 320px; height: 320px;
        background: radial-gradient(circle, rgba(251,191,36,0.12), transparent 70%);
    }

    .kh-final-inner {
        position: relative;
        z-index: 1;
        max-width: 880px;
        margin: 0 auto;
    }
    .kh-final-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.22);
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 0.84rem;
        font-weight: 700;
        margin-bottom: 24px;
    }
    .kh-final-eyebrow i { color: #fbbf24; font-size: 1rem; }
    .kh-final-title {
        font-size: 2.4rem;
        font-weight: 900;
        line-height: 1.5;
        margin: 0 0 18px;
        color: #fff !important;
    }
    .kh-final-title span {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kh-final-subtitle {
        font-size: 1.05rem;
        line-height: 2;
        opacity: 0.90;
        max-width: 680px;
        margin: 0 auto 32px;
    }

    /* Product quick-links row */
    .kh-final-products {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 38px;
    }
    .kh-final-prod {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.10);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.18);
        color: #fff !important;
        padding: 12px 22px;
        border-radius: 50px;
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
        transition: 0.25s ease;
    }
    .kh-final-prod i {
        font-size: 1.1rem;
        transition: transform 0.25s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-final-prod:hover {
            background: rgba(255,255,255,0.22);
            border-color: rgba(255,255,255,0.45);
            color: #fff !important;
            text-decoration: none;
            transform: translateY(-3px);
        }
        .kh-final-prod:hover i { transform: scale(1.15); }
    }
    /* Subtle hue per product */
    .kh-final-prod-1 i { color: #c4b5fd; }
    .kh-final-prod-2 i { color: #93c5fd; }
    .kh-final-prod-3 i { color: #6ee7b7; }
    .kh-final-prod-4 i { color: #fde68a; }
    .kh-final-prod-5 i { color: #f9a8d4; }

    /* Main CTA buttons */
    .kh-final-actions {
        display: flex;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .kh-final-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 16px 36px;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 800;
        text-decoration: none;
        transition: 0.25s ease;
    }
    .kh-final-btn-primary {
        background: #fff;
        color: var(--dark-purple) !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.30);
    }
    .kh-final-btn-ghost {
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(8px);
        color: #fff !important;
        border: 2px solid rgba(255,255,255,0.35);
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-final-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 28px 60px rgba(0,0,0,0.40);
            color: var(--purple) !important;
            text-decoration: none;
        }
        .kh-final-btn-ghost:hover {
            background: rgba(255,255,255,0.22);
            border-color: rgba(255,255,255,0.65);
            color: #fff !important;
            text-decoration: none;
            transform: translateY(-3px);
        }
    }
    .kh-final-btn i { font-size: 1.15rem; }

    /* Trust strip */
    .kh-final-trust {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 26px;
        font-size: 0.85rem;
        opacity: 0.88;
    }
    .kh-final-trust-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .kh-final-trust-item i { color: #6ee7b7; }

    @media (max-width: 768px) {
        .kh-final-cta { padding: 70px 0 80px; }
        .kh-final-title { font-size: 1.7rem; }
        .kh-final-subtitle { font-size: 0.94rem; }
        .kh-final-btn { padding: 14px 28px; font-size: 0.94rem; }
        .kh-final-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto 30px; }
    }
    @media (max-width: 480px) {
        .kh-final-prod { padding: 9px 16px; font-size: 0.82rem; }
    }

    /* === HOW IT WORKS (kh-how-*) — visual HTML/CSS timeline === */
    .kh-how-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
        position: relative;
        overflow: hidden;
    }
    .kh-how-timeline {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
        max-width: 1180px;
        margin: 0 auto;
        position: relative;
    }
    /* Dashed connector line between steps */
    .kh-how-progress {
        position: absolute;
        top: 56px; left: 12.5%; right: 12.5%;
        height: 3px;
        background: repeating-linear-gradient(90deg,
            rgba(106,73,242,0.40) 0 8px,
            transparent 8px 16px);
        z-index: 0;
    }
    .kh-how-step {
        position: relative;
        background: #fff;
        border-radius: 22px;
        padding: 32px 22px 24px;
        border: 1px solid #f0edf8;
        box-shadow: 0 8px 28px rgba(15,23,42,0.04);
        text-align: center;
        transition: transform .3s ease, box-shadow .3s ease;
        z-index: 1;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-how-step:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 44px rgba(106,73,242,0.14);
        }
    }
    .kh-how-step-num {
        position: absolute;
        top: -16px; right: 22px;
        background: #fff;
        color: var(--purple);
        border: 2px solid var(--purple);
        width: 36px; height: 36px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
        font-weight: 800;
        box-shadow: 0 4px 12px rgba(106,73,242,0.20);
    }
    .kh-how-step-icon {
        width: 76px; height: 76px;
        border-radius: 22px;
        margin: 0 auto 18px;
        display: flex; align-items: center; justify-content: center;
        font-size: 2rem;
        color: #fff;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        position: relative;
        z-index: 2;
    }
    .kh-how-c1 { background: linear-gradient(135deg, #6a49f2, #3b2bb3); }
    .kh-how-c2 { background: linear-gradient(135deg, #0ea5e9, #1e40af); }
    .kh-how-c3 { background: linear-gradient(135deg, #10b981, #065f46); }
    .kh-how-c4 { background: linear-gradient(135deg, #f59e0b, #b45309); }

    .kh-how-step h4 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin: 0 0 8px;
    }
    .kh-how-step > p {
        font-size: 0.82rem;
        color: #666;
        line-height: 1.9;
        margin: 0 0 18px;
    }

    /* Visual mock area */
    .kh-how-mock {
        background: #faf8ff;
        border-radius: 14px;
        padding: 16px;
        margin-bottom: 14px;
        min-height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Step 1 mock — product chips */
    .kh-how-mock-products {
        gap: 8px;
        flex-wrap: wrap;
    }
    .kh-how-pchip {
        width: 38px; height: 38px;
        border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        color: #fff;
        font-size: 1rem;
        animation: khHowPchipBounce 3s ease-in-out infinite;
    }
    .kh-how-pchip-1 { background: linear-gradient(135deg, #6a49f2, #3b2bb3); animation-delay: 0s; }
    .kh-how-pchip-2 { background: linear-gradient(135deg, #0ea5e9, #1e40af); animation-delay: 0.2s; }
    .kh-how-pchip-3 { background: linear-gradient(135deg, #10b981, #065f46); animation-delay: 0.4s; transform: scale(1.15); box-shadow: 0 0 0 3px rgba(16,185,129,0.30); }
    .kh-how-pchip-4 { background: linear-gradient(135deg, #f59e0b, #b45309); animation-delay: 0.6s; }
    .kh-how-pchip-5 { background: linear-gradient(135deg, #ec4899, #9d174d); animation-delay: 0.8s; }
    @keyframes khHowPchipBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
    }
    .kh-how-pchip-3 {
        animation: khHowPchipSelected 2s ease-in-out infinite;
    }
    @keyframes khHowPchipSelected {
        0%, 100% { transform: scale(1.15); box-shadow: 0 0 0 3px rgba(16,185,129,0.30); }
        50% { transform: scale(1.22); box-shadow: 0 0 0 5px rgba(16,185,129,0.20); }
    }

    /* Step 2 mock — template thumbnails */
    .kh-how-mock-templates {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 12px;
    }
    .kh-how-tpl-thumb {
        position: relative;
        height: 32px;
        background: linear-gradient(135deg, #e9e5f9, #d8d1f5);
        border-radius: 6px;
    }
    .kh-how-tpl-1 { background: linear-gradient(135deg, #fce7f3, #f0abfc); }
    .kh-how-tpl-2 {
        background: linear-gradient(135deg, #0ea5e9, #1e40af);
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--purple);
    }
    .kh-how-tpl-2 i {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 0.9rem;
    }
    .kh-how-tpl-3 { background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
    .kh-how-tpl-4 { background: linear-gradient(135deg, #fef3c7, #fcd34d); }

    /* Step 3 mock — form inputs */
    .kh-how-mock-form {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
    }
    .kh-how-input {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        border: 1px solid #ede9fe;
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 0.74rem;
        color: #555;
    }
    .kh-how-input i { color: var(--purple); flex-shrink: 0; }
    .kh-how-typing {
        font-weight: 700;
        color: var(--dark-purple);
        position: relative;
    }
    .kh-how-typing::after {
        content: '';
        display: inline-block;
        width: 2px;
        height: 12px;
        background: var(--purple);
        margin-right: 3px;
        animation: khHowBlink 1s steps(2, start) infinite;
        vertical-align: middle;
    }
    @keyframes khHowBlink { 50% { opacity: 0; } }
    .kh-how-bar {
        flex: 1;
        height: 6px;
        background: linear-gradient(90deg, #e9e5f9 40%, transparent 40%);
        background-size: 12px 100%;
        border-radius: 4px;
    }
    .kh-how-bar-short { max-width: 60%; }

    /* Step 4 mock — link + QR */
    .kh-how-mock-share {
        gap: 10px;
        padding: 12px;
    }
    .kh-how-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fff;
        border: 1px solid #ede9fe;
        border-radius: 50px;
        padding: 6px 14px;
        font-size: 0.78rem;
        color: #555;
        font-family: monospace;
        direction: ltr;
    }
    .kh-how-link i { color: var(--purple); }
    .kh-how-link strong { color: var(--purple); }
    .kh-how-qr {
        width: 40px; height: 40px;
        background:
            linear-gradient(45deg, #0f172a 25%, transparent 25%) 0 0 / 8px 8px,
            linear-gradient(-45deg, #0f172a 25%, transparent 25%) 0 4px / 8px 8px,
            linear-gradient(45deg, transparent 75%, #0f172a 75%) 4px -4px / 8px 8px,
            linear-gradient(-45deg, transparent 75%, #0f172a 75%) -4px 0 / 8px 8px,
            #fff;
        border: 2px solid #0f172a;
        border-radius: 6px;
        flex-shrink: 0;
    }

    /* Time indicator */
    .kh-how-time {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #ecfdf5;
        color: #059669;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.74rem;
        font-weight: 700;
    }
    .kh-how-time i { font-size: 0.85rem; }

    /* Summary card with total time + CTA */
    .kh-how-summary {
        max-width: 800px;
        margin: 50px auto 0;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-radius: 22px;
        padding: 24px 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        color: #fff;
        box-shadow: 0 20px 50px rgba(106,73,242,0.30);
    }
    .kh-how-summary-time {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .kh-how-summary-time > i {
        font-size: 2.4rem;
        color: #fbbf24;
    }
    .kh-how-summary-time strong {
        display: block;
        font-size: 1.05rem;
        font-weight: 800;
        margin-bottom: 2px;
    }
    .kh-how-summary-time span {
        font-size: 0.84rem;
        opacity: 0.85;
    }
    .kh-how-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 28px;
        background: #fff;
        color: var(--dark-purple) !important;
        border-radius: 50px;
        font-weight: 800;
        font-size: 0.92rem;
        text-decoration: none;
        white-space: nowrap;
        transition: 0.25s ease;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        flex-shrink: 0;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-how-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.20);
            color: var(--purple) !important;
            text-decoration: none;
        }
    }

    @media (max-width: 991px) {
        .kh-how-timeline { grid-template-columns: repeat(2, 1fr); }
        .kh-how-progress { display: none; }
        .kh-how-summary { flex-direction: column; text-align: center; padding: 24px; }
        .kh-how-summary-time { flex-direction: column; text-align: center; }
    }
    @media (max-width: 480px) {
        .kh-how-timeline { grid-template-columns: 1fr; }
    }

    /* === Use Cases (kh-uc-*) — replaces old blog/stories section === */
    .kh-uc-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
    }
    .kh-uc-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        max-width: 1180px;
        margin: 0 auto;
    }
    .kh-uc-card {
        position: relative;
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 20px;
        padding: 24px 24px 20px;
        border: 1px solid #f0edf8;
        box-shadow: 0 8px 28px rgba(15,23,42,0.04);
        text-decoration: none !important;
        color: inherit;
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-uc-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 50px rgba(106,73,242,0.14);
            border-color: rgba(106,73,242,0.20);
            text-decoration: none !important;
        }
        .kh-uc-card:hover .kh-uc-icon { transform: scale(1.08) rotate(-6deg); }
        .kh-uc-card:hover .kh-uc-cta { gap: 12px; color: var(--purple); }
    }
    /* Product-specific accent colors */
    .kh-uc-1 { --uc-c1: #6a49f2; --uc-c2: #3b2bb3; }
    .kh-uc-2 { --uc-c1: #0ea5e9; --uc-c2: #1e40af; }
    .kh-uc-3 { --uc-c1: #10b981; --uc-c2: #065f46; }
    .kh-uc-4 { --uc-c1: #f59e0b; --uc-c2: #b45309; }
    .kh-uc-5 { --uc-c1: #ec4899; --uc-c2: #9d174d; }

    .kh-uc-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .kh-uc-icon {
        width: 56px; height: 56px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--uc-c1, var(--purple)), var(--uc-c2, var(--dark-purple)));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 8px 18px rgba(0,0,0,0.10);
        transition: transform .3s ease;
        flex-shrink: 0;
    }
    .kh-uc-product {
        background: #faf8ff;
        color: var(--uc-c1, var(--purple));
        padding: 6px 14px;
        border-radius: 50px;
        font-size: 0.74rem;
        font-weight: 700;
        border: 1px solid #f0edf8;
        white-space: nowrap;
    }
    .kh-uc-card h3 {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin: 0 0 8px;
        line-height: 1.5;
    }
    .kh-uc-card > p {
        font-size: 0.88rem;
        color: #666;
        line-height: 1.9;
        margin: 0 0 14px;
    }
    .kh-uc-bullets {
        list-style: none;
        padding: 0;
        margin: 0 0 18px;
        flex-grow: 1;
    }
    .kh-uc-bullets li {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 0;
        font-size: 0.82rem;
        color: #555;
    }
    .kh-uc-bullets li i {
        color: var(--uc-c1, var(--purple));
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .kh-uc-cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: auto;
        padding-top: 14px;
        border-top: 1px dashed #f0edf8;
        font-size: 0.84rem;
        font-weight: 700;
        color: var(--uc-c1, var(--purple));
        transition: gap 0.2s ease, color 0.2s ease;
    }

    /* CTA card (last cell) */
    .kh-uc-cta-card {
        background: linear-gradient(160deg, #faf8ff 0%, #fff 100%);
        border: 2px dashed #d1c7f5;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 32px 28px;
    }
    .kh-uc-cta-icon {
        width: 64px; height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.7rem;
        margin: 0 auto 14px;
        box-shadow: 0 10px 24px rgba(106,73,242,0.30);
    }
    .kh-uc-cta-card > p {
        text-align: center;
        margin-bottom: 18px;
    }
    .kh-uc-cta-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 8px 22px rgba(106,73,242,0.30);
        transition: 0.25s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-uc-cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 32px rgba(106,73,242,0.45);
            color: #fff !important;
            text-decoration: none;
        }
    }

    @media (max-width: 991px) {
        .kh-uc-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 575px) {
        .kh-uc-grid { grid-template-columns: 1fr; }
        .kh-uc-head { flex-wrap: wrap; gap: 10px; }
    }

    /* === Blog story link wrapper ("ادامه مطلب") === */
    .kh-story-link {
        display: block;
        text-decoration: none !important;
        color: inherit !important;
        height: 100%;
    }
    .kh-story-link:hover { text-decoration: none; color: inherit; }
    .kh-story-link .story_box { transition: transform 0.3s, box-shadow 0.3s; height: 100%; }
    .kh-story-link:hover .story_box {
        transform: translateY(-6px);
        box-shadow: 0 18px 44px rgba(106,73,242,0.12);
    }
    .kh-story-more {
        display: inline-flex; align-items: center; gap: 4px;
        margin-top: 10px;
        font-size: 0.86rem; font-weight: 700;
        color: var(--purple);
        transition: gap 0.2s;
    }
    .kh-story-link:hover .kh-story-more { gap: 10px; }

    /* === Logo Cloud === */
    .kh-logos {
        padding: 50px 0 30px;
        background: #fff;
        border-bottom: 1px solid #f4f2ff;
    }
    .kh-logos-head {
        text-align: center;
        margin-bottom: 24px;
    }
    .kh-logos-head p {
        font-size: 0.86rem;
        color: #888;
        margin: 0;
        display: inline-flex; align-items: center; gap: 8px;
        flex-wrap: wrap; justify-content: center;
    }
    .kh-logos-head p strong {
        color: var(--dark-purple);
        font-weight: 800;
    }
    .kh-logos-strip {
        overflow: hidden;
        position: relative;
        mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
        /* Force LTR so the keyframes' translateX always moves leftwards regardless of page direction */
        direction: ltr;
    }
    .kh-logos-track {
        display: flex;
        animation: khLogosScroll 32s linear infinite;
        width: max-content;
    }
    .kh-logos-track:hover { animation-play-state: paused; }
    /* Seamless loop: translate to exactly half the track (both halves identical) */
    @keyframes khLogosScroll {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
    }
    .kh-logo-item {
        flex-shrink: 0;
        height: 56px;
        padding: 0 22px;
        margin-right: 28px;          /* gap on item itself — keeps both halves identical so loop is seamless */
        border-radius: 14px;
        background: #fafaff;
        border: 1px solid #f0edf8;
        display: inline-flex; align-items: center; justify-content: center; gap: 10px;
        color: #555;
        font-weight: 800;
        font-size: 0.98rem;
        transition: 0.25s;
        white-space: nowrap;
        filter: grayscale(0.5);
        opacity: 0.85;
        /* Persian text still renders correctly inside the LTR strip */
        direction: rtl;
    }
    .kh-logo-item:hover {
        filter: grayscale(0);
        opacity: 1;
        border-color: var(--purple);
        background: #faf8ff;
        transform: translateY(-2px);
    }
    .kh-logo-item i {
        font-size: 1.4rem;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* === Pricing Plans (kh-pl-*) — modern, in-line with the rest of the page === */
    .kh-pl-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
    }
    .kh-pl-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        max-width: 1080px;
        margin: 0 auto;
        align-items: stretch;
    }
    .kh-pl-card {
        position: relative;
        background: #fff;
        border-radius: 22px;
        border: 1px solid #f0edf8;
        padding: 32px 28px 28px;
        box-shadow: 0 10px 30px rgba(15,23,42,0.05);
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-pl-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 50px rgba(106,73,242,0.14);
            border-color: rgba(106,73,242,0.20);
        }
    }
    /* Featured plan stands out */
    .kh-pl-card.is-featured {
        border: 2px solid var(--purple);
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
        box-shadow: 0 20px 50px rgba(106,73,242,0.18);
        transform: translateY(-4px);
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-pl-card.is-featured:hover { transform: translateY(-10px); }
    }
    .kh-pl-badge {
        position: absolute;
        top: -14px; left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 800;
        box-shadow: 0 6px 18px rgba(106,73,242,0.35);
        display: inline-flex; align-items: center; gap: 5px;
        white-space: nowrap;
    }
    .kh-pl-badge i { color: #fbbf24; }

    /* Header */
    .kh-pl-header {
        text-align: center;
        margin-bottom: 22px;
        padding-bottom: 18px;
        border-bottom: 1px dashed #f0edf8;
    }
    .kh-pl-icon {
        width: 64px; height: 64px;
        border-radius: 18px;
        margin: 0 auto 14px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.7rem;
        color: #fff;
    }
    .kh-pl-free   .kh-pl-icon { background: linear-gradient(135deg, #10b981, #059669); }
    .kh-pl-team   .kh-pl-icon { background: linear-gradient(135deg, #0ea5e9, #1e40af); }
    .kh-pl-pro    .kh-pl-icon { background: linear-gradient(135deg, var(--purple), var(--dark-purple)); }
    .kh-pl-header h3 {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin: 0 0 4px;
    }
    .kh-pl-tagline {
        font-size: 0.82rem;
        color: #888;
    }

    /* Price */
    .kh-pl-price {
        text-align: center;
        margin-bottom: 22px;
    }
    .kh-pl-price strong {
        display: block;
        font-size: 2.2rem;
        font-weight: 900;
        line-height: 1.1;
        color: var(--dark-purple);
    }
    .kh-pl-price strong em {
        font-style: normal;
        font-size: 0.86rem;
        font-weight: 600;
        color: #888;
        margin-right: 4px;
    }
    .kh-pl-free .kh-pl-price strong {
        background: linear-gradient(135deg, #10b981, #059669);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kh-pl-pro .kh-pl-price strong {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kh-pl-price small {
        display: block;
        font-size: 0.78rem;
        color: #999;
        margin-top: 4px;
    }

    /* Features */
    .kh-pl-features {
        list-style: none;
        padding: 0;
        margin: 0 0 24px;
        flex-grow: 1;
    }
    .kh-pl-features li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 7px 0;
        font-size: 0.88rem;
        color: #555;
        line-height: 1.6;
    }
    .kh-pl-features li i {
        color: #10b981;
        font-size: 1.05rem;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .kh-pl-pro .kh-pl-features li i { color: var(--purple); }
    .kh-pl-features li strong { color: var(--dark-purple); font-weight: 800; }

    /* CTA */
    .kh-pl-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px;
        border-radius: 14px;
        font-size: 0.94rem;
        font-weight: 700;
        text-decoration: none;
        transition: 0.25s ease;
        margin-top: auto;
    }
    .kh-pl-cta-free {
        background: linear-gradient(135deg, #10b981, #059669);
        color: #fff !important;
        box-shadow: 0 8px 22px rgba(16,185,129,0.30);
    }
    .kh-pl-cta-team {
        background: #fff;
        color: #0ea5e9 !important;
        border: 2px solid #0ea5e9;
    }
    .kh-pl-cta-pro {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        box-shadow: 0 8px 22px rgba(106,73,242,0.35);
    }
    @media (hover: hover) and (pointer: fine) {
        .kh-pl-cta:hover {
            transform: translateY(-2px);
            text-decoration: none;
        }
        .kh-pl-cta-free:hover { box-shadow: 0 14px 32px rgba(16,185,129,0.45); }
        .kh-pl-cta-team:hover { background: #0ea5e9; color: #fff !important; }
        .kh-pl-cta-pro:hover { box-shadow: 0 14px 32px rgba(106,73,242,0.50); }
    }

    /* Footer */
    .kh-pl-foot {
        text-align: center;
        margin: 36px auto 0;
        max-width: 620px;
        font-size: 0.88rem;
        color: #666;
    }
    .kh-pl-foot i { color: var(--purple); margin-left: 4px; }
    .kh-pl-foot a {
        color: var(--purple);
        font-weight: 700;
        text-decoration: none;
        border-bottom: 1px dashed currentColor;
    }
    .kh-pl-foot a:hover { color: var(--dark-purple); text-decoration: none; }

    /* Guarantee strip below pricing */
    .kh-pl-guarantee {
        max-width: 1100px;
        margin: 40px auto 0;
        background: linear-gradient(135deg, #fff 0%, #faf8ff 100%);
        border: 1px solid #f0edf8;
        border-radius: 22px;
        padding: 22px 30px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
        box-shadow: 0 12px 36px rgba(106, 73, 242, 0.06);
    }
    .kh-pl-guarantee-item {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .kh-pl-guarantee-ico {
        flex-shrink: 0;
        width: 48px; height: 48px;
        border-radius: 14px;
        background: linear-gradient(135deg, #ede9fe, #faf8ff);
        color: var(--purple);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.3rem;
        border: 1px solid #ede9fe;
    }
    .kh-pl-guarantee-item:nth-child(1) .kh-pl-guarantee-ico {
        background: linear-gradient(135deg, #d1fae5, #f0fdf4);
        color: #10b981; border-color: #d1fae5;
    }
    .kh-pl-guarantee-item:nth-child(2) .kh-pl-guarantee-ico {
        background: linear-gradient(135deg, #dbeafe, #eff6ff);
        color: #2563eb; border-color: #dbeafe;
    }
    .kh-pl-guarantee-item:nth-child(3) .kh-pl-guarantee-ico {
        background: linear-gradient(135deg, #fef3c7, #fffbeb);
        color: #f59e0b; border-color: #fde68a;
    }
    .kh-pl-guarantee-item:nth-child(4) .kh-pl-guarantee-ico {
        background: linear-gradient(135deg, #fce7f3, #fdf2f8);
        color: #ec4899; border-color: #fbcfe8;
    }
    .kh-pl-guarantee-item strong {
        display: block;
        font-size: 0.92rem;
        font-weight: 800;
        color: var(--dark-purple);
        margin-bottom: 2px;
    }
    .kh-pl-guarantee-item span {
        font-size: 0.78rem;
        color: #666;
        line-height: 1.6;
    }

    @media (max-width: 991px) {
        .kh-pl-grid { grid-template-columns: repeat(2, 1fr); }
        .kh-pl-card.is-featured { transform: none; }
        .kh-pl-guarantee { grid-template-columns: repeat(2, 1fr); padding: 20px 22px; }
    }
    @media (max-width: 575px) {
        .kh-pl-grid { grid-template-columns: 1fr; gap: 28px; }
        .kh-pl-card { padding: 28px 22px 24px; }
        .kh-pl-price strong { font-size: 1.9rem; }
        .kh-pl-guarantee { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    }

    /* === Blog Teaser Section === */
    .kh-blog-section {
        padding: 80px 0;
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
    }
    .kh-blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
        margin-top: 14px;
    }
    .kh-blog-card {
        background: #fff;
        border: 1px solid #f0edf8;
        border-radius: 22px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    }
    .kh-blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(106, 73, 242, 0.14);
        border-color: rgba(106, 73, 242, 0.15);
    }
    .kh-blog-cover-link {
        display: block;
        text-decoration: none;
    }
    .kh-blog-cover {
        position: relative;
        height: 200px;
        overflow: hidden;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
    }
    .kh-blog-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .kh-blog-card:hover .kh-blog-cover img { transform: scale(1.05); }
    .kh-blog-cover-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.5);
        font-size: 4rem;
    }
    .kh-blog-cover-badge {
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(30, 27, 75, 0.85);
        backdrop-filter: blur(6px);
        color: #fff;
        padding: 6px 12px;
        border-radius: 50px;
        font-size: 0.74rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        direction: ltr;
    }
    .kh-blog-cover-badge i { font-size: 0.85rem; color: var(--gold, #fbbf24); }
    .kh-blog-body {
        padding: 22px 22px 24px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .kh-blog-author {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
        font-size: 0.78rem;
        color: var(--purple);
        font-weight: 700;
    }
    .kh-blog-author i { font-size: 0.9rem; }
    .kh-blog-title {
        margin: 0 0 10px;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.6;
    }
    .kh-blog-title a {
        color: var(--dark-purple);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .kh-blog-title a:hover { color: var(--purple); }
    .kh-blog-summary {
        margin: 0 0 16px;
        font-size: 0.88rem;
        color: #666;
        line-height: 1.9;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .kh-blog-read {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--purple);
        font-weight: 700;
        font-size: 0.86rem;
        text-decoration: none;
        transition: gap 0.25s ease;
        margin-top: auto;
        align-self: flex-start;
    }
    .kh-blog-read:hover {
        gap: 10px;
        color: var(--dark-purple);
        text-decoration: none;
    }

    @media (max-width: 991px) {
        .kh-blog-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 575px) {
        .kh-blog-grid { grid-template-columns: 1fr; gap: 22px; }
        .kh-blog-section { padding: 60px 0; }
        .kh-blog-cover { height: 180px; }
    }

    /* === Interactive Pricing Recommender === */
    .kh-pricing-rec {
        padding: 70px 0;
        background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
    }
    .kh-rec-wrap {
        max-width: 1000px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        align-items: stretch;
    }
    .kh-rec-questions {
        background: #fff;
        border-radius: 22px;
        padding: 32px 28px;
        box-shadow: 0 14px 40px rgba(15,23,42,0.06);
        border: 1px solid #f0edf8;
    }
    .kh-rec-q { margin-bottom: 22px; }
    .kh-rec-q:last-child { margin-bottom: 0; }
    .kh-rec-q > label {
        display: block;
        font-size: 0.92rem; font-weight: 700;
        color: var(--dark-purple);
        margin-bottom: 12px;
    }
    .kh-rec-slider-wrap {
        display: flex; align-items: center; gap: 14px;
    }
    .kh-rec-slider {
        flex: 1;
        -webkit-appearance: none; appearance: none;
        height: 6px;
        border-radius: 6px;
        background: linear-gradient(90deg, var(--purple), var(--dark-purple));
        outline: none;
        cursor: pointer;
    }
    .kh-rec-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 24px; height: 24px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid var(--purple);
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(106,73,242,0.30);
        transition: transform 0.15s;
    }
    .kh-rec-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
    .kh-rec-slider::-moz-range-thumb {
        width: 22px; height: 22px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid var(--purple);
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(106,73,242,0.30);
    }
    .kh-rec-slider-val {
        flex-shrink: 0;
        min-width: 96px;
        text-align: center;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        padding: 7px 14px;
        border-radius: 50px;
        font-size: 0.84rem; font-weight: 700;
    }
    .kh-rec-slider-val span {
        font-size: 1rem;
        margin-left: 2px;
    }
    .kh-rec-toggle-group {
        display: flex; gap: 10px;
    }
    .kh-rec-toggle {
        flex: 1;
        cursor: pointer;
        position: relative;
        margin: 0;
    }
    .kh-rec-toggle input { position: absolute; opacity: 0; pointer-events: none; }
    .kh-rec-toggle span {
        display: block;
        padding: 12px 14px;
        border-radius: 12px;
        border: 2px solid #f0edf8;
        background: #fafaff;
        color: #666;
        font-size: 0.86rem; font-weight: 700;
        text-align: center;
        transition: 0.2s;
    }
    .kh-rec-toggle:hover span { border-color: var(--purple); color: var(--purple); }
    .kh-rec-toggle input:checked + span {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-color: var(--purple);
        color: #fff;
        box-shadow: 0 6px 16px rgba(106,73,242,0.25);
    }

    /* Result card */
    .kh-rec-result {
        background: linear-gradient(135deg, var(--dark-purple), var(--purple));
        border-radius: 22px;
        padding: 32px 28px;
        color: #fff;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 50px rgba(106,73,242,0.30);
    }
    .kh-rec-result::before {
        content: '';
        position: absolute;
        top: -60px; right: -40px;
        width: 200px; height: 200px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
    }
    .kh-rec-result::after {
        content: '';
        position: absolute;
        bottom: -80px; left: -30px;
        width: 220px; height: 220px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
    }
    .kh-rec-arrow {
        position: absolute;
        top: 14px; left: 24px;
        font-size: 1.4rem;
        opacity: 0.5;
        animation: khRecBounce 1.8s ease-in-out infinite;
    }
    @keyframes khRecBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(6px); }
    }
    .kh-rec-result > * { position: relative; z-index: 1; }
    .kh-rec-badge {
        display: inline-block;
        background: rgba(255,255,255,0.16);
        backdrop-filter: blur(6px);
        padding: 5px 14px;
        border-radius: 50px;
        font-size: 0.74rem; font-weight: 700;
        margin-bottom: 14px;
    }
    .kh-rec-result h3 {
        font-size: 1.6rem; font-weight: 800;
        color: #fff !important;
        margin: 0 0 14px;
    }
    .kh-rec-price {
        display: flex; align-items: baseline; gap: 8px;
        margin-bottom: 20px;
    }
    .kh-rec-price-val {
        font-size: 2rem; font-weight: 900;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .kh-rec-price-unit {
        font-size: 0.86rem;
        opacity: 0.85;
    }
    .kh-rec-features {
        list-style: none; padding: 0; margin: 0 0 22px;
    }
    .kh-rec-features li {
        display: flex; align-items: center; gap: 10px;
        padding: 7px 0;
        font-size: 0.9rem;
        color: #fff;
    }
    .kh-rec-features li i { color: #6ee7b7; font-size: 1rem; }
    .kh-rec-cta {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 12px 26px;
        border-radius: 50px;
        background: #fff;
        color: var(--dark-purple) !important;
        font-weight: 800; font-size: 0.92rem;
        text-decoration: none;
        transition: 0.25s;
        box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    }
    .kh-rec-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(0,0,0,0.22);
        color: var(--purple) !important; text-decoration: none;
    }
    .kh-rec-note {
        margin: 12px 0 0;
        font-size: 0.76rem;
        opacity: 0.75;
    }

    /* Responsive — stack to single column + tighter spacing on small screens */
    @media (max-width: 991px) {
        .kh-pricing-rec { padding: 50px 0; }
        .kh-rec-wrap {
            grid-template-columns: 1fr;
            gap: 22px;
            max-width: 580px;
        }
    }
    @media (max-width: 575px) {
        .kh-rec-questions { padding: 22px 18px; }
        .kh-rec-result    { padding: 26px 22px; }
        .kh-rec-q > label { font-size: 0.86rem; }
        .kh-rec-slider-wrap { gap: 10px; }
        .kh-rec-slider-val {
            min-width: 78px;
            padding: 6px 10px;
            font-size: 0.78rem;
        }
        .kh-rec-slider-val span { font-size: 0.9rem; }
        .kh-rec-toggle-group { gap: 8px; }
        .kh-rec-toggle span { padding: 10px 8px; font-size: 0.78rem; }
        .kh-rec-result h3 { font-size: 1.3rem; }
        .kh-rec-price-val { font-size: 1.6rem; }
        .kh-rec-features li { font-size: 0.84rem; }
        .kh-rec-cta { padding: 11px 22px; font-size: 0.86rem; width: 100%; justify-content: center; }
        .kh-rec-arrow { display: none; }      /* hide the bouncy arrow on tiny screens */
    }
    @media (max-width: 380px) {
        /* On very narrow phones, switch the toggle group to a column so labels never overflow */
        .kh-rec-toggle-group { flex-direction: column; gap: 6px; }
        .kh-rec-toggle span { padding: 11px 14px; }
    }

    /* === FAQ Interactive (search + category) === */
    .kh-faq-search {
        position: relative;
        max-width: 560px;
        margin: 0 auto 16px;
    }
    .kh-faq-search input {
        width: 100%;
        padding: 14px 48px 14px 44px;
        border-radius: 50px;
        border: 2px solid #f0edf8;
        background: #fff;
        font-size: 0.92rem;
        outline: none;
        transition: 0.25s;
        font-family: inherit;
        box-shadow: 0 4px 14px rgba(15,23,42,0.04);
    }
    .kh-faq-search input:focus {
        border-color: var(--purple);
        box-shadow: 0 0 0 4px rgba(106,73,242,0.10);
    }
    .kh-faq-search > i {
        position: absolute;
        right: 18px; top: 50%;
        transform: translateY(-50%);
        color: var(--purple);
        pointer-events: none;
        font-size: 1.05rem;
    }
    .kh-faq-clear {
        position: absolute;
        left: 8px; top: 50%;
        transform: translateY(-50%);
        width: 30px; height: 30px;
        border-radius: 50%;
        border: none;
        background: #f4f2ff;
        color: #888;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        transition: 0.2s;
    }
    .kh-faq-clear:hover { background: #e74c3c; color: #fff; }
    .kh-faq-clear.show { display: flex; }

    .kh-faq-cats {
        display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
        margin-bottom: 30px;
    }
    .kh-faq-cat {
        padding: 8px 18px;
        border-radius: 50px;
        border: 1.5px solid #f0edf8;
        background: #fff;
        color: #666;
        font-size: 0.82rem; font-weight: 700;
        cursor: pointer;
        transition: 0.2s;
        font-family: inherit;
        display: inline-flex; align-items: center; gap: 5px;
    }
    .kh-faq-cat i { font-size: 0.92rem; }
    .kh-faq-cat:hover { border-color: var(--purple); color: var(--purple); }
    .kh-faq-cat.active {
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        border-color: var(--purple);
        color: #fff;
        box-shadow: 0 6px 16px rgba(106,73,242,0.25);
    }
    .kh-faq-item.kh-faq-hide { display: none; }

    .kh-faq-empty {
        display: none;
        max-width: 460px; margin: 30px auto 0;
        background: #fff;
        border: 1px dashed #e8e5f2;
        border-radius: 18px;
        padding: 36px 24px;
        text-align: center;
    }
    .kh-faq-empty.show { display: block; }
    .kh-faq-empty > i {
        font-size: 2.6rem; color: #c9c2e7;
        display: block; margin-bottom: 12px;
    }
    .kh-faq-empty h4 {
        font-size: 1.05rem; font-weight: 800;
        color: var(--dark-purple); margin: 0 0 8px;
    }
    .kh-faq-empty p {
        font-size: 0.86rem; color: #888;
        margin: 0 0 18px; line-height: 1.7;
    }
    .kh-faq-ask {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 11px 22px;
        border-radius: 50px;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff !important;
        font-weight: 700; font-size: 0.88rem;
        text-decoration: none;
        box-shadow: 0 8px 22px rgba(106,73,242,0.25);
        transition: 0.25s;
    }
    .kh-faq-ask:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(106,73,242,0.40);
        text-decoration: none; color: #fff !important;
    }

    /* === Money-Back Guarantee Strip === */
    .kh-guarantee {
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
        padding: 20px 0;
        border-top: 1px solid #a7f3d0;
        border-bottom: 1px solid #a7f3d0;
    }
    .kh-guarantee-inner {
        max-width: 980px; margin: 0 auto;
        display: flex; align-items: center; gap: 22px;
        flex-wrap: wrap; justify-content: center;
        padding: 0 20px;
    }
    .kh-guarantee-seal {
        flex-shrink: 0;
        width: 76px; height: 76px;
        border-radius: 50%;
        background: linear-gradient(135deg, #10b981, #047857);
        color: #fff;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        box-shadow: 0 12px 30px rgba(16,185,129,0.30);
        font-weight: 800;
        text-align: center;
        line-height: 1;
        position: relative;
    }
    .kh-guarantee-seal strong { font-size: 1.5rem; }
    .kh-guarantee-seal small { font-size: 0.6rem; opacity: 0.9; margin-top: 2px; }
    .kh-guarantee-seal::after {
        content: '';
        position: absolute; inset: -6px;
        border-radius: 50%;
        border: 2px dashed rgba(16,185,129,0.40);
        animation: khDemoSpin 18s linear infinite;
    }
    .kh-guarantee-text { max-width: 580px; text-align: right; }
    .kh-guarantee-text h3 {
        margin: 0 0 4px;
        font-size: 1.1rem; font-weight: 800;
        color: #065f46;
        display: flex; align-items: center; gap: 8px;
        flex-wrap: wrap;
    }
    .kh-guarantee-text h3 i { color: #10b981; }
    .kh-guarantee-text p {
        margin: 0;
        font-size: 0.86rem; color: #047857; line-height: 1.7;
    }

    /* === Trust Badges Bar === */
    .kh-trust-bar {
        padding: 36px 0;
        background: #fff;
        border-bottom: 1px solid #f4f2ff;
    }
    .kh-trust-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1080px; margin: 0 auto;
    }
    .kh-trust-item {
        display: flex; align-items: center; gap: 12px;
        padding: 10px 12px;
        border-radius: 12px;
        transition: 0.25s;
    }
    .kh-trust-item:hover {
        background: #faf8ff;
        transform: translateY(-2px);
    }
    .kh-trust-icon {
        width: 46px; height: 46px;
        flex-shrink: 0;
        border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.25rem;
        color: #fff;
    }
    .kh-trust-ssl    { background: linear-gradient(135deg, #10b981, #059669); }
    .kh-trust-pay    { background: linear-gradient(135deg, #6366f1, #4338ca); }
    .kh-trust-host   { background: linear-gradient(135deg, #ef4444, #b91c1c); }
    .kh-trust-supp   { background: linear-gradient(135deg, #f59e0b, #d97706); }
    .kh-trust-text { flex: 1; min-width: 0; }
    .kh-trust-text h5 {
        margin: 0 0 2px;
        font-size: 0.86rem; font-weight: 700;
        color: var(--dark-purple);
    }
    .kh-trust-text p {
        margin: 0;
        font-size: 0.72rem; color: #999;
    }

    /* === Sticky CTA Bar === */
    .kh-sticky-cta {
        position: fixed;
        bottom: 18px; left: 50%;
        transform: translate(-50%, 120%);
        z-index: 9990;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        padding: 12px 18px 12px 14px;
        border-radius: 50px;
        box-shadow: 0 16px 40px rgba(106,73,242,0.40),
                    0 2px 6px rgba(15,23,42,0.10);
        display: flex; align-items: center; gap: 14px;
        max-width: calc(100% - 32px);
        transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
        opacity: 0;
    }
    .kh-sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
    .kh-sticky-cta-text {
        font-size: 0.88rem; font-weight: 600;
        white-space: nowrap;
        overflow: hidden; text-overflow: ellipsis;
    }
    .kh-sticky-cta-text i { color: #fbbf24; margin-left: 4px; }
    .kh-sticky-cta-btn {
        display: inline-flex; align-items: center; gap: 6px;
        background: #fff; color: var(--dark-purple) !important;
        padding: 8px 18px;
        border-radius: 50px;
        font-weight: 700; font-size: 0.86rem;
        text-decoration: none;
        white-space: nowrap;
        transition: 0.25s;
        flex-shrink: 0;
    }
    .kh-sticky-cta-btn:hover {
        transform: translateX(-3px);
        background: #fffbeb;
        color: var(--purple) !important; text-decoration: none;
    }
    .kh-sticky-cta-close {
        width: 28px; height: 28px;
        border-radius: 50%;
        background: rgba(255,255,255,0.18);
        border: none;
        color: #fff;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.85rem;
        flex-shrink: 0;
        transition: 0.2s;
    }
    .kh-sticky-cta-close:hover { background: rgba(255,255,255,0.32); }

    /* === Live Activity Toast === */
    .kh-toast {
        position: fixed;
        bottom: 96px; right: 18px;
        z-index: 9985;
        background: #fff;
        border-radius: 14px;
        padding: 12px 16px;
        box-shadow: 0 12px 34px rgba(15,23,42,0.14),
                    0 0 0 1px rgba(15,23,42,0.04);
        display: flex; align-items: center; gap: 12px;
        max-width: 320px;
        transform: translateX(120%);
        opacity: 0;
        transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
        border-right: 4px solid #10b981;
    }
    .kh-toast.show { transform: translateX(0); opacity: 1; }
    .kh-toast-pulse {
        width: 10px; height: 10px;
        border-radius: 50%;
        background: #10b981;
        flex-shrink: 0;
        position: relative;
        animation: khPulse 1.6s infinite;
    }
    .kh-toast-pulse::after {
        content: '';
        position: absolute; inset: -4px;
        border-radius: 50%;
        background: rgba(16,185,129,0.30);
        animation: khPulseRing 1.6s infinite;
    }
    @keyframes khPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.2); }
    }
    @keyframes khPulseRing {
        0% { transform: scale(1); opacity: 1; }
        100% { transform: scale(2.2); opacity: 0; }
    }
    .kh-toast-body { flex: 1; min-width: 0; }
    .kh-toast-body p {
        margin: 0 0 2px;
        font-size: 0.82rem; font-weight: 600;
        color: var(--dark-purple);
        line-height: 1.5;
    }
    .kh-toast-body span {
        font-size: 0.7rem; color: #999;
    }

    /* === Floating Help Bubble === */
    .kh-help {
        position: fixed;
        bottom: 80px; left: 22px;   /* بالای دکمهٔ go-top (۴۶px در گوشه) تا روی هم نیفتند */
        z-index: 9988;
    }
    .kh-help-btn {
        width: 56px; height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple), var(--dark-purple));
        color: #fff;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 12px 30px rgba(106,73,242,0.40);
        display: flex; align-items: center; justify-content: center;
        transition: transform 0.25s, box-shadow 0.25s;
        position: relative;
    }
    .kh-help-btn:hover {
        transform: scale(1.08) rotate(8deg);
        box-shadow: 0 16px 40px rgba(106,73,242,0.55);
    }
    .kh-help-btn::after {
        content: '';
        position: absolute; inset: -4px;
        border-radius: 50%;
        border: 2px solid rgba(106,73,242,0.40);
        animation: khHelpRing 2s infinite;
    }
    @keyframes khHelpRing {
        0% { transform: scale(1); opacity: 1; }
        100% { transform: scale(1.4); opacity: 0; }
    }
    .kh-help-menu {
        position: absolute;
        bottom: 70px; left: 0;
        width: 280px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 20px 50px rgba(15,23,42,0.18),
                    0 0 0 1px rgba(15,23,42,0.04);
        padding: 14px;
        transform: translateY(20px) scale(0.92);
        opacity: 0;
        visibility: hidden;
        transition: 0.25s cubic-bezier(0.34,1.56,0.64,1);
    }
    .kh-help.open .kh-help-menu {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
    .kh-help-menu-head {
        padding: 6px 8px 12px;
        border-bottom: 1px solid #f4f2ff;
        margin-bottom: 8px;
    }
    .kh-help-menu-head h5 {
        margin: 0 0 2px;
        font-size: 0.92rem; font-weight: 800;
        color: var(--dark-purple);
    }
    .kh-help-menu-head p {
        margin: 0;
        font-size: 0.75rem; color: #999;
    }
    .kh-help-item {
        display: flex; align-items: center; gap: 12px;
        padding: 10px 8px;
        border-radius: 10px;
        color: #555;
        text-decoration: none;
        font-size: 0.86rem; font-weight: 600;
        transition: 0.2s;
        cursor: pointer;
        border: none;
        background: transparent;
        width: 100%;
        text-align: right;
    }
    .kh-help-item:hover {
        background: #faf8ff;
        color: var(--purple);
        text-decoration: none;
    }
    .kh-help-item i {
        width: 32px; height: 32px;
        border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
        color: #fff;
        flex-shrink: 0;
    }
    .kh-help-item .kh-help-i-chat { background: linear-gradient(135deg,#0ea5e9,#0369a1); }
    .kh-help-item .kh-help-i-faq  { background: linear-gradient(135deg,#10b981,#059669); }
    .kh-help-item .kh-help-i-tut  { background: linear-gradient(135deg,#f59e0b,#d97706); }
    .kh-help-item .kh-help-i-call { background: linear-gradient(135deg,#ef4444,#b91c1c); }

    /* === Responsive === */
    @media (max-width: 991px) {
        .kh-templates-grid { grid-template-columns: repeat(2, 1fr); }
        .kh-steps-grid { grid-template-columns: 1fr; gap: 16px; }
        .kh-step-line { display: none; }
        .kh-section-head h2 { font-size: 1.5rem; }
        .kh-bfm-text h2 { font-size: 1.4rem; }
        .kh-who-grid { grid-template-columns: repeat(2, 1fr); }
        .kh-compare-table { grid-template-columns: 1fr; }
        .kh-share-grid { grid-template-columns: 1fr; gap: 30px; }
        .kh-stats-grid { grid-template-columns: repeat(2, 1fr); }
        .kh-demo-wrap { grid-template-columns: 1fr; gap: 36px; }
        .kh-demo-preview { order: -1; }
        .kh-demo-field-grid { grid-template-columns: 1fr; gap: 0; }
        .kh-trust-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 575px) {
        .kh-templates-grid { grid-template-columns: 1fr; }
        .kh-cta-group { flex-direction: column; }
        .kh-cta-primary, .kh-cta-secondary { width: 100%; justify-content: center; }
        .kh-who-grid { grid-template-columns: 1fr; }
        .kh-share-channels { grid-template-columns: 1fr; }
        .kh-stat-num { font-size: 1.7rem; }
        .kh-trust-grid { grid-template-columns: 1fr; }
        .kh-demo-phone-frame { width: 100%; max-width: 300px; }
        .kh-demo-presets { gap: 4px; }
        .kh-demo-preset { font-size: 0.72rem; padding: 6px 10px; }
        .kh-sticky-cta { flex-wrap: wrap; padding: 10px 14px; border-radius: 18px; }
        .kh-sticky-cta-text { font-size: 0.8rem; flex: 1 1 100%; text-align: center; }
        .kh-toast { left: 14px; right: 14px; max-width: unset; }
        .kh-help { bottom: 78px; left: 16px; }   /* بالای go-top روی موبایل */
        .kh-help-menu { width: 260px; }
    }

/* ----- second style block (legacy features_section helpers) ----- */

    /* ----------Feature-Detail-Section-start------ */

    /* features section wraper */
    .features_section {
        padding-top: 200px;
        position: relative;
    }

        /* features section image */
        .features_section .features_inner .feature_img {
            width: 70%;
            /*height: 50%;*/
            overflow: auto;
            margin: auto;
            position: absolute;
            top: -90px;
            left: 0;
            bottom: 0;
            right: 0;
        }

            .features_section .features_inner .feature_img img {
                max-width: 100%;
            }

        .features_section .container {
            max-width: 1370px;
        }

        .features_section .features_inner {
            position: relative;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 190px 0 70px 0;
            border-radius: 30px;
            box-shadow: 0px 4px 30px #EDE9FE;
            border: solid 1px var(--bg-white);
        }

            /* features box block */
            .features_section .features_inner .features_block {
                max-width: 1170px;
                margin: 0 auto;
                padding: 40px 20px 0 20px;
            }

            /* features section box */

            .features_section .features_inner .feature_box {
                width: 100%;
                text-align: right;
            }

                .features_section .features_inner .feature_box .image {
                    position: relative;
                    max-width: 100%;
                }

                    .features_section .features_inner .feature_box .image img {
                        border-radius: 12px 12px 0 0;
                        max-width: 100%;
                    }

                .features_section .features_inner .feature_box .text {
                    padding: 50px 0 0 0;
                }

                    .features_section .features_inner .feature_box .text h4 {
                        font-size: 20px;
                        color: var(--dark-purple);
                        font-weight: 600;
                    }
